Monday 28 April 2003 7:30:13 am
We have a caching problem with includes from within a pagelayout_section. The layout contains our design along with several includes for a header, footer and a leftmenu, eg: {include uri="design:page_leftmenu.tpl"} which picks up the page_leftmenu.tpl within the ''design/user/templates' directory. As far as we can see we are using all caching options, for example:
ViewCaching=enableCached
ViewModes=full;sitemap NodeTreeCaching=enabled we tried adding more view modes to the list but this didn't seem to do anything. With cache on we find that there are files within 'cache/template/tree' representing our included files. but within 'content/user/' there are only views for the full modes of the classes we are viewing. As it stands our local machines give out about 30 pages a minute, largely due to the complex left menu we have designed. However, if we move the include for that left menu to the full view for a class and test again we find we get a 3 fold increase to around 90 pages a minute. We would prefer not to move design elements into each full view in order to get this speed increase. Is there something we are perhaps missing from the ini files that would allow includes from the main pagelayout to be cached in the same way full views are? btw, we are using php accelerator and ez rev 2356 Thanks Paul
|