Feature #102422
openIntroduce CacheTagCollector Api
0%
Description
A new API has been introduced to collect cache tags and there lifetime.
This API is used in the core to collect cache tags from page cache and
content object cache.
The API is implemented as a new PSR15 request attribute `cacheTags`
to remove the dependency from TSFE. This feature make using and testing
in the core and extensions easier as it provides a solid API.
Now every cache tag has a lifetime. The minimum lifetime is calculated
from all given cache tags. API users don't have to deal with it individually.
The default lifetime for a cache tag is 86400 seconds (24 hours).
The current TSFE api is deprecated in favor of the new API as the current API
implementation does not allow to set a lifetime and extension authors have to
workaround it. The TSFE api will be removed with the next major version.
Updated by Christoph Lehmann 5 months ago
- Related to Feature #92535: Extbase controller / Plugins can't modify page cache lifetime added
Updated by Christian Kuhn 5 months ago
- Related to Bug #102525: Respect endtime of page when calculating the lifetime added