Search squid archive

Re: Is there a way to internally resolve 302 redirects?

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

 



On 12/3/20 6:49 AM, Robin Dinse wrote:

> I am using a Squid cache with SSLBump to reduce the bandwidth impact of
> Chocolatey upgrades. The setup works fine, however some URLs randomly
> redirect to different CDNs which means the files are re-downloaded upon
> each request.
> 
> I would like Squid to instead resolve the redirects so as to not follow
> 302 redirects at all in subsequent queries, but to provide the first
> file that was encountered in following the redirect(s) the first time it
> encounters the query URL.

I am not sure I am parsing your request correctly, but it sounds like
you may need to investigate two solutions:

1. Block or make unnecessary some cache validation requests (because
they result in unwanted redirects).

2. Computing your own Store IDs (so that Squid can answer the redirected
requests using the already stored responses):
https://wiki.squid-cache.org/Features/StoreID


HTH,

Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux