Feature #34352

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

Added by Fabrizio Branca almost 7 years ago. Updated about 1 year ago.

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

100%

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

Associated revisions

Revision 5c42960d (diff)
Added by Fabrizio Branca almost 7 years ago

[FEATURE] Add clearing cache by tag and by identifier clearCacheCMD

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 = cacheTag:firsttag,cacheTag:secondtag
TCEMAIN.clearCacheCmd = cacheId:first,cacheId:anotherid

Change-Id: Ib0936aa9c0f50dc26ebd78417a29b1582d078b46
Fixes: #34352
Releases: 4.7
Reviewed-on: http://review.typo3.org/9266
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch

History

#1 Updated by Gerrit Code Review almost 7 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 almost 7 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 almost 7 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 almost 7 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 almost 7 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 almost 7 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 almost 7 years ago

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

#8 Updated by Riccardo De Contardi about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF