Project

General

Profile

Actions

Feature #83734

closed

Add support for current page in config.cache

Added by Francois Suter almost 7 years ago. Updated over 5 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.

Actions

Also available in: Atom PDF