[Zope] Re: Caching zope pages

John Poltorak jp at warpix.org
Mon Dec 13 18:14:53 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
> 
> 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/).

There certainly seems a lot more to setting up an httpd accelerator than  
alluded to in the Squid FAQ....

 
> --David


-- 
John




More information about the Zope mailing list