Re: [squid-users] squid refresh_pattern - different url with same XYZ package

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 03 Apr 2012 18:37:59 +1200

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
Received on Tue Apr 03 2012 - 06:38:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 03 2012 - 12:00:02 MDT