Forums / Developer / expiration of cache of a folder template

expiration of cache of a folder template

Author Message

Massimiliano Bariola

Tuesday 08 November 2005 5:54:12 am

Hi all.

I have an override template for a folder object. this override just shows info about the contained objects.

I had put on it my version of google.tpl pager, set to appear when the number of objects contained in the folder is above 10.
After adding some objects above 10 in number, I discovered that the pager is not displayed until I disable the cache, so it seems to be a cache issue.

As this object is not modified / republished while the number of contained objects is, how can I ensure that contents are properly displayed / paged ?

About cache expiry: Shouldn't all caches expire after 2 hours? do I have to do anything specific (i.e. enabling eZ cronjobs) to have this functionality?

thanks in advance!