Feature #34352

Add clearing cache by tag and by identifier to t3lib_tcemain->clear_cacheCmd()

Added by Fabrizio Branca about 9 years ago. Updated over 3 years ago.

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

100%

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

Description

The caching framework supports to remove cache entries by identifier and by id. If this was supported by the t3lib_tcemain->clear_cacheCmd(), this feature could also be used in TSConfig's TCEMAIN.clearCacheCmd.

As both require an additional parameter I suggest a syntax like this:

TCEMAIN.clearCacheCmd = tag:firsttag,tag:secondtag
TCEMAIN.clearCacheCmd = id:first,id:anotherid

Of course this still can be combined and also used with the other features:

TCEMAIN.clearCacheCmd = 15,tag:news,id:latestnewsbox

#1

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

#2

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9266

#3

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9266

#4

Updated by Gerrit Code Review about 9 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9266

#5

Updated by Fabrizio Branca about 9 years ago

In my latest commit I've changed to syntax to be like this:

TCEMAIN.clearCacheCmd = cacheTag:firsttag,cacheTag:secondtag
TCEMAIN.clearCacheCmd = cacheId:first,cacheId:anotherid
#6

Updated by Gerrit Code Review about 9 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9266

#7

Updated by Fabrizio Branca about 9 years ago

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

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF