Forums / Developer / Caching problems / Comment48644
Oliver Frommel
Tuesday 09 October 2007 4:50:29 am
Ok, I guess using the admin site access and object ID will be ok. Thanks for your help.
However it still doesn't work although I tried virtually every combination of settings in the viewcache.ini and different cache-blocks in the template. For instance using a {cache-block expiry=120} around the template fetch and display code for the news items as a brute force approach didn't work either.
Could it be a problem with our setup? With this site we have two different site accesses 'sa1' and 'sa2' sharing the content and most of the templates, too. The templates for the homepage differ though. That means we have two templates 'startpage1.tpl' (for sa1) and 'startpage2.tpl' (for sa2). We have only one admin site access for both sites - and thus only one viewcache setting as well. Is it possible that the caching of one site access intereferes with the other?
I tried both, using the same cache directory for both sites (say var/cache_sa1), and using a separate cache directory each site (say var/cache_sa1 and var/cache_sa2). What is the right approach?
Thanks Oliver