[TYPO3-core] RFC: Feature #15306: [Caching framework] Add scheduler task to execute garbage collection

Christian Kuhn lolli at schwarzbu.ch
Fri Jul 30 16:17:05 CEST 2010


This is an SVN patch request.

Type: Feature

BT: http://bugs.typo3.org/view.php?id=15306

Branches: trunk

Problem:
Some caching framework cache backends (like the default database 
backend) do not delete expired cache data automatically. Therefore they 
implement the collectGarbage() method. This method is currently never 
called by core.

Solution:
Implement a caching framework garbage collection task for the scheduler, 
enabling admins to execute the garbage colletion when the system is 
mostly idle. An additional field in the task lets an admin choose which 
backend types should be cleaned up. The task then finds all configured 
caches with this backend type and calls collectGarbage().

Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15306_v1.diff
Type: text/x-patch
Size: 20158 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100730/c1dd65fe/attachment-0001.bin>


More information about the TYPO3-team-core mailing list