Feature #34403
closedAdd stdWrap feature: addPageCacheTags
100%
Description
In the release notes for TYPO3 4.7.0beta1 in the wiki (http://wiki.typo3.org/TYPO3_4.7) you'll find:
As a result, these tags are added to the page-cache and TCEmain.clearCacheCmd is enabled to drop page cache by these tags.
Actually this is not true as issue #34299 does store cache tags for the stdWrap content to cache_hash, but not to cache_pages.
This means that you cannot delete this cached stdWrap content using TCEmain.clearCacheCmd with the feature introduced in #34352.
Add stdWrap.addPageCacheTags¶
On the one hand it actually also might be a very useful feature if page cache tags can be added using stdWrap so I suggest to add following easy to implement feauture to stdWrap that actually stores the tags into cache_pages
stdWrap.addPageCacheTags = pagetag1,pagetag2,pagetag3
I suggest to not put this configuration option inside "cache." to make clear that this will affect other cache tables than the ones addressed in "cache.".
We usually write those page cache tags inside frontend plugins but having this also inside stdWrap could be very handy.
Add TCEmain.clearCacheCmd = cacheHashTag:latestnewsbox¶
On the other hand we could also add a TCEmain feauture to clear content by tag from cache_hash. (Also see comments in https://review.typo3.org/#change,9266)
Conclusion¶
Add these two features to the other set of newly introduced cache (tag) related features gives youfull flexibility to handle cache entries and cache tags on cache_pages and cache_hash content.
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9294
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9294
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9294
Updated by Gerrit Code Review over 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9294
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9294
Updated by Gerrit Code Review over 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9294
Updated by Gerrit Code Review over 11 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9294
Updated by Gerrit Code Review over 11 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9294
Updated by Fabrizio Branca over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 61df9ce72e4150d7d01492baa8b05f6f8de2f14b.