[Zope] Updating Caches

Paul Winkler pw_lists at slinkp.com
Wed Jun 2 11:03:25 EDT 2004


On Wed, Jun 02, 2004 at 09:53:17AM -0400, Tiller, Michael (M.M.) wrote:
> I've got a site that I've spent some time on optimizing.  I have used
> both Ram caches and a proxy cache (in front of the site).
> 
> My problem is that the site is not accessed very often.  As a result,
> the caches are often empty when somebody happens to hit the site and
> then they pay the cost of filling the caches.  How do people normally
> handle this?  Is it possible to some how "schedule" a request in Zope to
> make sure that the caches are always filled?  In order to fill the proxy
> server caches, I suppose the request has to originate from outside of
> Zope?

On *nix, I'd probably just set up a shell script that fires off some
wget requests, and set up a cron job that runs this script
as often as I want.

and/or configure the caches to not expire so quickly.

-- 

Paul Winkler
http://www.slinkp.com



More information about the Zope mailing list