Search squid archive

Squid refresh_pattern

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
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?




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux