Project

General

Profile

Actions

Task #26263

closed

Update caching framework to latest FLOW3 version

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

Status:
Closed
Priority:
Should have
Category:
Caching
Target version:
-
Start date:
2011-04-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #25119: performace of cachingframeworkClosed2011-06-202011-06-20

Actions
Blocked by TYPO3 Core - Bug #26230: Add unit tests for t3lib_div::mkdir_deepClosedChristian Kuhn2011-04-24

Actions
Precedes TYPO3 Core - Bug #26499: Caching framework: Remove flushByTags() and findIdentifiersByTags()Closed2011-04-29

Actions
Actions #1

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

Actions #2

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

Actions #3

Updated by Susanne Moog over 13 years ago

  • Status changed from New to Under Review
  • Assignee set to Christian Kuhn
Actions #4

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

Actions #5

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.

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

Updated by Xavier Perseguers over 13 years ago

  • Target version changed from 1081 to 1238
Actions #11

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

Actions #12

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

Actions #13

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

Actions #14

Updated by Susanne Moog over 13 years ago

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

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Resolved to Closed
Actions #16

Updated by Ernesto Baschny over 11 years ago

  • Target version deleted (1238)
Actions

Also available in: Atom PDF