[Zope] Re: Caching zope pages

John Poltorak jp at warpix.org
Tue Dec 14 05:52:36 EST 2004


On Mon, Dec 13, 2004 at 04:45:44PM -0500, David Chandek-Stark wrote:
> John Poltorak wrote:
> > I have been trying to set up Squid as an httpd accelerator for Zope with 
> > the idea of speeding up load times, especially for Plone. Unfortunately 
> > Squid appears to simply redirect any requests rather than serving them 
> > from cache. Is there anything I can do within Zope to allow pages to be 
> > cached? Or have I overlooked a Squid setting?
> > 
> 
> John, I don't know about cache management in Zope (per other responses 
> to your post), but make sure you've got Squid configured correctly as 
> well. For example, I found that I had to use some explicit refresh 
> patterns in squid.conf (I don't know why), such as:
> 
> # Folders/default pages
> # These don't seem to get cached without a refresh pattern
> refresh_pattern /$ 30 50% 60

Can you explain that? I put it in but did see any improvement.
 
> Use the debug options in Squid. I also recommend looking at the actual 
> HTTP headers being sent/received. I use LiveHTTPHeaders for 
> Mozilla/Firefox (http://livehttpheaders.mozdev.org/).

I had never come across LiveHTTPHeaders before and it does look useful, 
but since installing the product Firefox won't start up any more :-(... 
Need to work out how to uninstall it without starting up Firefox.
 
> --David


-- 
John





More information about the Zope mailing list