Re: [squid-users] Reg. caching of dynamic content / aolserver / sql ..

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 21 Dec 2001 11:17:27 +0100

The best approach is to address this on the HTTP server, not Squid.

Add a "Cache-Control: max-age=1800" header. This will tell Squid and any
other caches in the request path that the reply can be considered fresh for
30 minutes.

You can also address it using the refresh_pattern directive in squid.conf,
but if you can I'd recommend doing it on the origin server instead.

Regards
Henrik Nordström
MARA Systems AB

On Friday 21 December 2001 11.05, Jørgen Skogstad wrote:

> In essence; I would like to cache all "dynamic index pages" for
> at least 30 minutes (perhaps even an hour) and all other pages
> with default values. What needs to be done with respect to;
>
> * Http headers (cache-control etc.)
> * squid.conf
> * ... anything else!

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Fri Dec 21 2001 - 03:20:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:27 MST