Author Topic

Yann Rouillard

Friday 18 August 2006 4:57:01 am

Comment32704

I have a little question to Yvan ROY comment about template cache.
Does his comment imply we should only see 3 "Loading template ... with resource ..." line in the debug output ?

I see this line for each template used in the page and I thought this was normal.
Is this the case and what should I check it if means templates are not correctly cached (Template cache option are enabled) ?

From Yvan ROY:

[Are the templates correctly cached]

Activate the Debug Output for the Template.

If your template is correctly cached you should only see 3 templates loaded:

1/ setup/debug_toolbar.tpl setup/debug_toolbar.tpl design/standard/templates/setup/debug_toolbar.tpl

2/ setup/clear_cache.tpl setup/clear_cache.tpl design/standard/templates/setup/clear_cache.tpl

3/ setup/quick_settings.tpl setup/quick_settings.tpl design/standard/templates/setup/quick_settings.tpl

All other templates listed means that they are **NOT** cached (Thanks to eZ Sytems France for the hint)