Task #26263
closedUpdate caching framework to latest FLOW3 version
100%
Description
Except to a database structure change of the experimintal PDO backend all
changes are backwards compatible for existing extensions usages if the
current API was not misused.
otable changes:
- A new "context" variable for backends constructors was introduced. In v4 it
is always set to "production" in production environment and to "Testing" for
unit tests. Other than that it is unused and was ported to keep v4 and
FLOW3 in sync.
- File backend now uses different directories for a code and data caches.
- Files created by the file backend have a .php suffix for code caches.
- In file backend, FLOW3 removed the cacheDirectory() method. It is kept
for v4 to enable us to have cache directories outside of the document root.
- File backend unit tests use vfs (virtual file system). This way no more
persisted files are created by unit tests in the file system that must be
cleaned up afterwards.
- t3lib_cache_Manager has a new method injectCacheFactory(), used by
t3lib_cache_Factory. t3lib_cache, tslib_fe and init.php reflect this change.
- t3lib_cache_Factory calls initializeObject() of frontends and backends if the
method exists. Some __construct() calls are moved to this method.
- Some code and unit tests now use name spacing for global objects.
- t3lib_cache_Manager has new protected methods to call all configured caches
on flushCaches() and flushCachesByTag(). Its usage in v4 will be enabled with
a separate patch.
- Pdo backend changed its database structure and uses a "context" field instead
of "scope" now.
- Lots of minor variable renamings, comment changes and annotation fixes.
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Susanne Moog over 13 years ago
- Status changed from New to Under Review
- Assignee set to Christian Kuhn
Updated by Mr. Hudson over 13 years ago
Patch set 3 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Christian Kuhn over 13 years ago
To run the file backend tests, phpunit version from forge svn is currently required. It fixes a bug with vfs. If vfsStream does not work with current install phpunit, the tests are skipped. I hope a new phpunit version will be found in TER soon.
Updated by Mr. Hudson over 13 years ago
Patch set 4 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Mr. Hudson over 13 years ago
Patch set 5 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Mr. Hudson over 13 years ago
Patch set 6 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Mr. Hudson over 13 years ago
Patch set 7 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Xavier Perseguers over 13 years ago
- Target version changed from 1081 to 1238
Updated by Mr. Hudson over 13 years ago
Patch set 8 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Mr. Hudson over 13 years ago
Patch set 9 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Mr. Hudson over 13 years ago
Patch set 10 of change Ib1be85fbbe0cb198201fb09bbdb9f9e42c097d35 has been pushed to the review server.
It is available at http://review.typo3.org/1722
Updated by Susanne Moog over 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b36b630287851f2cf0eaf2d658457c4a85b11de7.
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed