Feature #45090
closedAllow TypoScript to add pageCacheTags to page for cachingframework
0%
Description
Currently there exists no direct way using TypoScript to add "tags" to a page before it is sent to the cachingframework.
Updated by Stefan Neufeind almost 12 years ago
How about:
page.cachetags.<whatyoulike> = myTag
We should then also allow stdWrap on those entries so various values can be reused to create a tag.
Updated by Ingo Renner almost 12 years ago
just make sure to use camelCase ... cacheTags :)
Updated by Philipp Gampe almost 12 years ago
I would prefer a tsConfig way to add tags (or even in page options).
Updated by Andreas Kießling almost 12 years ago
I often need dynamic values for cache tags, not just static strings.
Imagine rendering news or addresses with plain TypoScript CONTENT/RECORDS. When the page is tagged with tt_address_[uid], it was pretty easy to just install enetcache and let its hooks drop the cache for the pages whenever a record was edited through TCEmain. So in my opinion, adding tag entries should be available in stdWrap so you can use it in renderObj, PAGE etc.
Updated by Philipp Gampe almost 10 years ago
- Status changed from New to Closed
This has been implemented already: http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Stdwrap/Index.html#stdwrap-addpagecachetags