On 3/04/2012 5:57 a.m., Mohsen Saeedi wrote:
Hi

I have a problem with squid refresh_pattern. i used regex on refresh_pattern and every exe file for example cached and then clients can download it with high rate. but when someone download from some website(for example mozilla or filehippo) , they redirect to different url but the same XYZ exe file. for example firefox-version.exe cached to the disk but when another clients send new request, it redirect automatically to different url for downloading same firefox. how can i configure squid for this condition?


By altering your regex pattern to work with both URL. Or adding a different pattern to match the alternative URL.

NOTE: refresh_pattern has nothing to do with where squid caches the object or where it fetches from. Only how long cacheable things get stored.

Amos

Reply via email to