Project

General

Profile

Actions

Feature #34403

closed

Add stdWrap feature: addPageCacheTags

Added by Fabrizio Branca about 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-02-29
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Feature #45090: Allow TypoScript to add pageCacheTags to page for cachingframeworkClosed2013-02-02

Actions
Actions #1

Updated by Gerrit Code Review about 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

Actions #2

Updated by Steffen Ritter about 12 years ago

  • Target version deleted (4.7.0)
Actions #3

Updated by Gerrit Code Review about 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

Actions #4

Updated by Gerrit Code Review about 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

Actions #5

Updated by Gerrit Code Review about 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

Actions #6

Updated by Gerrit Code Review about 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

Actions #7

Updated by Gerrit Code Review about 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

Actions #8

Updated by Gerrit Code Review about 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

Actions #9

Updated by Gerrit Code Review about 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

Actions #10

Updated by Fabrizio Branca about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF