Question about cache management
Hi zopistas, I'm currently trying to tune a site for production use. Now I'm thinking about how to best implement caching. My problem is that esp. the first two levels of the site are dynamically created from pulling together summary information from zclasses further down, and these "summary" pages all come from one index_html via acqusition. i.e. root folder index_html content folder content_folder_1 some zclasses content2_folder_2 some zclasses ..etc... So using bobobase_modification_time for the http-header isn't optimal I guess. Has anybody found a nice strategy to cleverly handle this kind of situation? Another question: Does anybody know how the RAM Cache Manager decides to purge an object? Is that just done by setting the "cleanup intervall" Btw: While doing testing I compared the RAM Cache Manager to apache's mod_proxy and to no cache at all. I got (on a PII 350 +64Meg) no cache: approx. 8 hits/sec Ram Cache: approx.: 50 hits/sec Apache+proxy approx: 500 hits/sec I know the reasons, but I found it nonetheless interesting. cheers, oliver
On Fri, 4 May 2001 16:04:06 +0200, Oliver Bleutgen <myzope@gmx.net> wrote:
Has anybody found a nice strategy to cleverly handle this kind of situation?
Two options: PULL: scrounge modification times from all the individual objects that make up your page, every time the page is requested. PUSH: modify the critical methods that modify the state of the objects that make up your page, so that they maintain some global last-modified value. The best solution may be a combination of both. Toby Dickenson tdickenson@geminidataloggers.com
participants (2)
-
Oliver Bleutgen -
Toby Dickenson