Re: [squid-users] force caching ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Mar 2002 00:45:32 +0100

Sorry for the slow repsponse, but what are the expiry header on your
replies?

See refresh_pattern if you can not control expiry information on the
HTTP server, but if possible I strongly suggest making the HTTP server
send correct expiry information indicating when the contents will be
changed next.

Regards
Henrik Nordström

"Rommel, Florian" wrote:
>
> Hi, i am trying to get my squid reverse proxy to "force" cache everything.
> here's my setup:
> 2 Webservers that are loadbalanced, 1 Squid server that caches the loadbalanced servers and serves the data to the clients.
>
> The clients access the webserver more then once a minute but the data actually changes only once every 5 minutes. So i want to cache the data for a minute on the proxy. thats not a problem since i can set the expiration header in the data BUT, i cant set it everywhere and all URLs are something like http://gg.gg.gg.com/script.jsp?blah=x&x=blahh .
> So i added these lines in the squid.conf:
>
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin monitor.jsp? table.jsp?
> no_cache allow QUERY
>
> but still over 80% are actually pulled from the server all the time and not cached...
>
> anyone got any ideas???
>
> --
> Q u a r t a l O y
>
> Florian Rommel, Senior System Administrator(rommel@quartal.com)
> Tel: +358 [0]424 258 253
> Fax: +358 [0]424 258 360
>
> http://www.quartal.com
Received on Mon Mar 25 2002 - 20:20:49 MST

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