Author Topic

Gaetano Giunta

Saturday 04 June 2011 11:38:32 am

Comment68470

@Marko To get precise answers, your gotta give precise questions ;-)

Are you talking about compiled-tempates cache, view cache, cache-block cache or all of them together?

As far as I know, once your compiled-templates cache is fully warmed up, you could run the whole website without the original templates. But I've never seen it done in real life so far.

View-cache and template-block cache are different beasts, as they will expire based on unpredictable conditions.

To regenerate caches bqsed on time intervals, set up a cronjob that

- runs ezcache.php to clear the cache you want thim to

- runs eztc.php to warm template cache, and/or wget to warm content cache + tpl block cache

This I have seen done in a few real life sites. Esp. clearing caches by hand, when there is a lot of content and different users roles / view parameters, can be used to prevent the size of created cache files to grow too much.

Principal Consultant International Business
Member of the Community Project Board