Thursday 17 September 2009 10:04:13 am
In the pagelayout.tpl I have a cache-block like :
non cache-block: {currentdate()|datetime('custom', '%Y-%m-%d %H:%i:%s')}
{cache-block keys = array($current_node_id, $module_result.uri, $user_hash) subtree_expiry = $primary_menu_root_node_id}
cache-block: {currentdate()|datetime('custom', '%Y-%m-%d %H:%i:%s')}
{/cache-block}
When I update the node with the primary menu root node, the cache-block should expire. But it doesn't. I have tried:
- switching off the ViewCache
- adding cache_ttl = 0 to the top of the pagelayout.tpl
- only using the subtree_expiry without the keys but nothing helps. These are my settings:
[TemplateSettings]
Debug=disabled
DevelopmentMode=disabled
ShowUsedTemplates=disabled
ShowXHTMLCode=disabled
TemplateCache=enabled
TemplateCompile=enabled
CompileComments=disabled
TemplateCompression=disabled
TemplateOptimization=enabled
UseFormatting=disabled
What I'm I missing here... :S
|