Feature #83734

Add support for current page in config.cache

Added by Francois Suter over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Start date:
2018-01-31
Due date:
% Done:

100%

Estimated time:
PHP Version:
7.1
Tags:
Complexity:
easy
Sprint Focus:

Description

When using the TS property "config.cache", it is possible to define a configuration that affects all pages, with a syntax like:

config.cache.all = fe_users:2

However such configurations always depend on a precise page where to look up records. A common scenario is to have records stored in each page itself. Thus such a syntax would be useful:

config.cache.all = fe_users:this

where "this" would be dynamically replaced by the current page id.

#1

Updated by Francois Suter over 3 years ago

A typical use case is when having IRRE items related to a content element (for example, the Bootstrap Package does this with Accordion and Carousel items).

#2

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 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/+/60419

#3

Updated by Gerrit Code Review about 2 years ago

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/+/60419

#4

Updated by Gerrit Code Review about 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/+/60419

#5

Updated by Benni Mack about 2 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF