Task #88366

Streamline caching framework caches

Added by Benni Mack almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Caching
Start date:
2019-05-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Related issues

Related to TYPO3 Core - Bug #88512: Flaws in accessing deprecated caches starting with "cache_"Closed2019-06-06

Actions
Related to TYPO3 Core - Bug #90140: Exception "No cache in the specified group 'pages'" in 10.2.2Closed2020-01-17

Actions
Related to TYPO3 Core - Bug #91188: Change cache_runtime to runtimeClosed2020-04-24

Actions
Related to TYPO3 Core - Bug #91306: Old cache configuration is not merged correctlyClosedMarkus Klein2020-05-05

Actions
#1

Updated by Benni Mack almost 2 years ago

Due to some heavy history on the caching framework, all
Database caches start with "cf_cache_", which is optimized
so they are only called e.g. "cache_pagesection" in the database tables.

In addition, the prefix "cache_" (in e.g. "cache_core") is unnecessary,
and also there due to legacy reasons, reading $this->getCache('cache_runtime')
seems very illogical.

Therefor the following caches have been renamed:
- cache_core => core
- cache_hash => hash
- cache_pages => pages
- cache_pagesection => pagesection
- cache_runtime => runtime
- cache_rootline => rootline
- cache_imagesizes => imagesizes

Old identifiers can still be called within PHP,
but the caching framework throws a deprecation message
on setting up such a cache.

#2

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59661

#3

Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59661

#4

Updated by Gerrit Code Review almost 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59661

#5

Updated by Gerrit Code Review almost 2 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59661

#6

Updated by Gerrit Code Review almost 2 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59661

#7

Updated by Benni Mack almost 2 years ago

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

Updated by Oliver Hader almost 2 years ago

  • Related to Bug #88512: Flaws in accessing deprecated caches starting with "cache_" added
#9

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
#10

Updated by Georg Ringer over 1 year ago

  • Related to Bug #90140: Exception "No cache in the specified group 'pages'" in 10.2.2 added
#11

Updated by Chris topher about 1 year ago

  • Related to Bug #91188: Change cache_runtime to runtime added
#12

Updated by Markus Klein about 1 year ago

  • Related to Bug #91306: Old cache configuration is not merged correctly added

Also available in: Atom PDF