Forums / General / I need a lesson in caching with Exponential...
Christian Johansen
Wednesday 25 January 2006 5:41:33 am
I'm fighting this cache problem... I now have a finished site which works fine when caching is off, except it's pretty slow. So I tried some caching. I implemented two cache-blocks in my pagelayout, and it helped a little. Then I did:
[ContentSettings] TranslationList=nor-NO ViewCaching=enabled PreViewCache=enabled [TemplateSettings] Debug=disabled TemplateCache=enabled TemplateCompile=enabled TemplateCompression=enabled TemplateOptimization=enabled ShowUsedTemplates=disabled
Worked through the templates to have them cached, then looked forward to a speedy eZ site :) Unfortunately all I got were blank pages. Then I disabled compression and optimization and I got reasonably fast pages. However, new content was not published to the page? Also, some images disappeared from the cached pages.
How long are pages cached? And how can I have a speedy site with caching but still be able to publish new material? Must I clear the cache everytime I publish something?
Also: I'm not using $node in pagelayout.tpl as I've learned that that brings me nowhere with cached pages :)
Friday 27 January 2006 3:31:36 am
Anyone,? This is a huge problem for me, and I can't find out what's wrong
Rodrigo Pinheiro
Friday 27 January 2006 4:22:35 am
Hi there,
You will find plenty of information on that subject at the following thread:http://ez.no/community/forum/general/ez_speed_optimisation_faq#main