[squid-users] force caching ?

From: Rommel, Florian <Florian.Rommel@dont-contact.us>
Date: Wed, 27 Feb 2002 08:51:00 +0200

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
Received on Tue Feb 26 2002 - 23:51:15 MST

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