Actions
Bug #49329
closedContent caching with page data key not working
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-06-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
This bug report is related to Feature #34307 where it's written that the following code is working but it's not:
cache.key = mycachedcontent_{page:id} cache.key.insertData = 1
my cache identifier in the table "cf_cache_hash" looks like this:
"mycachedcontent_", the page id is missing.
{TSFE:sys_language_uid} is working fine.
Updated by Wouter Wolters over 11 years ago
- Status changed from New to Needs Feedback
Can you try this out with (page:uid}
Looks like page:id is not working and in TypoScript I found only references to uid
Updated by Simon Schaufelberger over 11 years ago
oh of course it must be uid! in TSFE it's id ;)
can you please update the docs?
http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Cache/Index.html#cache-examples
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to Closed
From linked documentation:
5 = TEXT 5 { cache.key = mycurrenttimestamp_{page:uid}_{TSFE:sys_language_uid} cache.key.insertData = 1 }
This seams correct (or already fixed in the last short days).
Actions