Project

General

Profile

Actions

Feature #23316

closed

[Caching framework] Add scheduler task to execute garbage collection

Added by Christian Kuhn over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
Caching
Target version:
-
Start date:
2010-07-30
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

This is an SVN patch request.

Type: Feature

BT:

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 configure the execution of the garbage colletion when the system is 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().

(issue imported from #M15306)


Files

15306_v1.diff (19.7 KB) 15306_v1.diff Administrator Admin, 2010-07-30 16:14
15306_02.diff (18.1 KB) 15306_02.diff Administrator Admin, 2010-10-30 14:54

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #21534: Caching Framework: Task for garbage collection in db and file backendClosedChristian Kuhn2009-11-11

Actions
Actions #1

Updated by Christian Kuhn about 14 years ago

trunk rev. 9231

Actions #2

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF