Managing cached pages

We have caching turned on, with a default expiry of 7200 seconds (2 hours). However, some pages take ages to load right after the cache has been cleared. Asset listing in particular take way too long to download.


I'm wondering if there's a script or something we could run after the cache has been cleared to recache some of the more complex pages and asset listings… or if there's something we've overlooked in the cache management settings that would do this.

Why is your cache time so short? I'd recommend a minimum of 86400 seconds (24 hours) or longer. Then, you manually clear the cache when you need immediate visibility for a change.


Also, any spidering software can be used to recache the more complex pages (even wget or httrack). There is nothing built-into Matrix though.

The site I'm working on is a new intranet, with loads of new content being added every day. The cache manager is set to clear every two hours, so that new content become available the same day. We are also manually clearing the cache for some pages (like news/announcements, job vacancy notices, the home page - which has news/announcements, etc and needs to be as fresh as possible), but these tend to be the pages that take a long time to download after the cache has been cleared. At the moment, when we manually clear the cache we make sure we also manually "hit" these pages straight afterwards, but I was looking for something a bit more automated…so I'll look into some spidering software.