Feature #36563

Add a simple file backend for caching that favors speed over flexibility

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-04-25
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Cache
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:No

Description

The tagging features of the file backend are powerful but come at a cost. Flushing caches by tag can be extremely costly when a lot of entries and tags are used.

It would be useful to have a simpler file backend that doesn't support tagging but is faster instead.


Related issues

related to Core - Feature #36564: Add a simple file backend for caching that favors speed o... Closed 2012-04-25
related to Core - Feature #39430: Update cache framework to latest FLOW3 version Resolved 2014-04-17

Associated revisions

Revision 08924c0c
Added by Karsten Dambekalns over 3 years ago

[!!!][FEATURE] Make cache backends more flexible

This change makes cache backends more flexible. It adds a new interface
"TaggableBackendInterface" and a new "SimpleFileBackend". The latter
does not support tagging but is faster in certain cases (where with a
lot of tags/entries flushing everything is faster than flushing by tag).

If you have implemented a cache backend and support tagging, you must
add the "TaggableBackendInterface" to the list of interfaces implemented
by your backend.

In addition this change makes the PDO backend a little more robust and
resolves some code style issues.

Resolves: #36563
Related: #34875
Extbase Issue: #36564
Releases: 1.1

Change-Id: I2b6c315493e983c50572026c1605ae5ad4099284

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10763

#2 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10763

#3 Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10763

#4 Updated by Karsten Dambekalns over 3 years ago

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

Also available in: Atom PDF