[squid-users] Vary object loop returns

Heiler Bemerguy heiler.bemerguy at cinbesa.com.br
Wed Jun 8 13:34:34 UTC 2016


So.. with store_miss I could make squid store only some types of vary?
Wouldn't it "fix" the vary loop "bug" without messing with sources?


-- 
Best Regards,

Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751


Em 08/06/2016 03:31, Amos Jeffries escreveu:
>
>> entry->mem_obj->vary_headers =
>> 'accept="text%2Fhtml,application%2Fxhtml+xml,application%2Fxml%3Bq%3D0.9,*%2F*%3Bq%3D0.8",
>> if-none-match, if-modified-since,
>> accept-language="en-US,en%3Bq%3D0.8,pt-BR%3Bq%3D0.5,pt%3Bq%3D0.3",
>> accept-encoding="none", x-client-locale,
>> user-agent="Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20WOW64%3B%20rv%3A46.0)%20Gecko%2F20100101%20Firefox%2F46.0",
>> x-device'
>>
>> That's why it always gives vary object loop
>>
> :-( Stupidity at its best with that sites designer.
>
>
> Heres a little recipe that should raise the HIT ratio for that kind of
> crap in 3.5:
>
>   acl brokenVaryHeaders rep_header Vary -i \
>      user-agent \
>      if(-none)?-match \
>      if-(un)?modified-since
>
>   store_miss deny brokenVaryHeaders
>
>
> Amos
>



More information about the squid-users mailing list