CacheFu overhaul
Geoff Davis <geoff-wGuDV/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel,gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Organization | phds.org |
| Message-ID | <[email protected]> |
Hi all-- I am doing an overhaul of CacheFu. I have fixed (I think) all the outstanding bugs, and I have completely revamped the way that CacheFu is configured. Once you get your squid.conf and httpd.conf files right, setup should much easier: pretty much all cache settings are now controlled from portal_cache_settings (navigate to it in the ZMI, then use the View tab to actually do something useful). No more script customizations should be required. The new code is in svn in the geoffd-cachefuageddon branch. I've added lots of unit tests, and they all pass, but I still haven't done much testing with an actual squid instance. NOTE: if you have an existing cachefu setup with squid behind apache, you will need to modify your httpd.conf file and squid.conf files slightly. A few things: several content types do not invoke caching policy manager to set their headings. I believe this includes Files, FSFiles, Images, FSImages, and possibly ATFiles and ATImages (at least for the downloads). I don't really care for my use case, but it would be nice to have these controlled by a sane caching policy. Patches gratefully accepted. I think content gzipping will now work, but I haven't tested it at all. Assuming it works, your content will be stored pre-gzipped in the cache. Geoff ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642