Actions
Bug #21534
closedCaching Framework: Task for garbage collection in db and file backend
Start date:
2009-11-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The cache backends db and file implement a method to do garbageCollection for old cache entries, while memcache and apc do it themself in the storage engine.
It might be a good usecase for a scheduler task to call these methodes for all configured db / file backends on a regular basis.
(issue imported from #M12563)
Files
Updated by Christian Kuhn about 15 years ago
Attached two class files that will be shipped with ext:enetcache to show how this could be done.
The task lets you select all backends for which a garbage collection should be called.
Actions