[!!!][FEATURE] Update cache framework to latest FLOW3 version
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 31 Jul 2012 17:12:37 +0000 (19:12 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 1 Aug 2012 21:34:53 +0000 (23:34 +0200)
commit3778f5b4619c314d0254b39abbb79c711fded1b8
treee93bae5ce8ebcaa65f1d6b71771e58305be93b45
parentf26736782ad0491ee3916c74cb5bac96ca6d4a6e
[!!!][FEATURE] Update cache framework to latest FLOW3 version

Update the caching framework to FLOW3 version 868e073b98

Main changes:

[!!!][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.

[BUGFIX] Fix default lifetime use in cache backend

[FEATURE] Freezable Cache Backend
Introduce a new type of cache backends which supports freezing.
In a frozen state no modifications are allowed and thus enables the
cache implementation to optimize its tasks for speed.
The FileBackend was extended to support freezing.

Change-Id: Id4c609ecfcbb223cf6bc99202ef41b436e21ef78
Resolves: #39430
Related: #36563
Related: #33562
Related: #32398
Related: #36564
Releases: 6.0
Reviewed-on: http://review.typo3.org/13390
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
36 files changed:
t3lib/cache/backend/class.t3lib_cache_backend_abstractbackend.php
t3lib/cache/backend/class.t3lib_cache_backend_apcbackend.php
t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php
t3lib/cache/backend/class.t3lib_cache_backend_filebackend.php
t3lib/cache/backend/class.t3lib_cache_backend_memcachedbackend.php
t3lib/cache/backend/class.t3lib_cache_backend_nullbackend.php
t3lib/cache/backend/class.t3lib_cache_backend_pdobackend.php
t3lib/cache/backend/class.t3lib_cache_backend_redisbackend.php
t3lib/cache/backend/class.t3lib_cache_backend_simplefilebackend.php [new file with mode: 0644]
t3lib/cache/backend/class.t3lib_cache_backend_transientmemorybackend.php
t3lib/cache/backend/class.t3lib_cache_backend_wincachebackend.php
t3lib/cache/backend/interfaces/interface.t3lib_cache_backend_backend.php
t3lib/cache/backend/interfaces/interface.t3lib_cache_backend_freezablebackend.php [new file with mode: 0644]
t3lib/cache/backend/interfaces/interface.t3lib_cache_backend_taggablebackend.php [new file with mode: 0644]
t3lib/cache/class.t3lib_cache_manager.php
t3lib/cache/frontend/class.t3lib_cache_frontend_abstractfrontend.php
t3lib/cache/frontend/class.t3lib_cache_frontend_phpfrontend.php
t3lib/cache/frontend/class.t3lib_cache_frontend_stringfrontend.php
t3lib/cache/frontend/class.t3lib_cache_frontend_variablefrontend.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_abstractbackendTest.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_apcbackendTest.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_dbbackendTest.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_filebackendTest.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_memcachedbackendTest.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_mockbackend.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_pdobackendTest.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_redisbackendTest.php
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_transientmemorybackendTest.php
tests/Unit/t3lib/cache/class.t3lib_cache_factoryTest.php
tests/Unit/t3lib/cache/class.t3lib_cache_managerTest.php
tests/Unit/t3lib/cache/frontend/class.t3lib_cache_frontend_abstractfrontendTest.php
tests/Unit/t3lib/cache/frontend/class.t3lib_cache_frontend_phpfrontendTest.php
tests/Unit/t3lib/cache/frontend/class.t3lib_cache_frontend_stringfrontendTest.php
tests/Unit/t3lib/cache/frontend/class.t3lib_cache_frontend_variablefrontendTest.php
tests/Unit/t3lib/cache/last_synched_revision
typo3/classes/Bootstrap/BaseSetup.php