[squid-users] Squid refresh_pattern

From: Stas Kanitskiy <system@dont-contact.us>
Date: Tue, 9 Jan 2007 16:55:21 +0200

 
Hello,

1.This is the refresh_pattern part of my squid.conf:

refresh_pattern . 0 20% 4320
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.gif$ 14400 80% 43200 ignore-reload

When sending the client request header - Cache-Control: no-cache for a .gif
file, I still get 'miss' from the squid.
Am I doing something wrong here?

2. I would like to configure squid to ignore querystring parameters when
deciding to refresh a object of a certain type (e.g .swf files).
for example : if somefile.swf?x=1 is found in the cache, the request for
somefile.swf?x=2 would return the same cached object
Is this configuration possible via refresh patterns or some other way?
Received on Tue Jan 09 2007 - 07:58:32 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST