Project

General

Profile

Actions

Feature #34352

closed

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

Added by Fabrizio Branca over 12 years ago. Updated about 7 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

Actions #1

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/9266

Actions #2

Updated by Gerrit Code Review over 12 years ago

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

Actions #3

Updated by Gerrit Code Review over 12 years ago

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

Actions #4

Updated by Gerrit Code Review over 12 years ago

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

Actions #5

Updated by Fabrizio Branca over 12 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
Actions #6

Updated by Gerrit Code Review over 12 years ago

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

Actions #7

Updated by Fabrizio Branca over 12 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF