[FEATURE] Add clearing cache by tag and by identifier clearCacheCMD
authorFabrizio Branca <mail@fabrizio-branca.de>
Mon, 27 Feb 2012 20:24:21 +0000 (21:24 +0100)
committerTolleiv Nietsch <info@tolleiv.de>
Tue, 28 Feb 2012 07:54:53 +0000 (08:54 +0100)
commit5c42960d2bd758b14cd351f94dfadb347882f5b8
tree6f64b54f5c7ff3ccce2ce0f47684f7c67c3b9d5a
parent4e1dc96deaefa59137009a03ff21f3747b0de70d
[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
t3lib/class.t3lib_tcemain.php