...
Here are list of supported types:
Type | Description |
---|---|
prefix | Unit config prefix. Invalidates cached data, when associated database table content is changed. Cached data only for latest database state is kept. |
prefix_id | Unit config prefix. Invalidates cached data, when currently viewed record (e.g. product on detail page) data in database is changed. Cached data only for latest database state is kept. |
var | Request variable (get/post). Invalidates data, when value for specified request variable changes. Cached data for each possible request variable value is stored in parallel. |
To simplify developer life each cached key will also contain this configuration:
...
- "param" and "skip_param" types (see how "var" and "skip_var" are implemented), that would use "$this->GetParam" to get parameter value
- prefix cache key parts, that are added to $parts array based on their type to avoid conflicts (e.g. when template parameter is named like request variable)
Related Tasks
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|