[squid-users] Vary object loop returns

Yuri Voinov yvoinov at gmail.com
Mon Jun 6 18:20:55 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
By the way, we have another problem. Caching is greatly reduced by the
presence of User-Agent header Vary. Although I know that Amos says - he
says, we should break the Internet and cached separately all types of
user agents. However, this leads to duplication of content. Significant
duplication. Accordingly, we are able to throw out Vary all but the
Accept-Encoding - at our own risk, through the manipulation of headlines.

07.06.2016 0:09, Heiler Bemerguy пишет:
>
>
> Web servers uses the "vary" tag, not "accept-encoding" tag exactly.
Like these sniffed examples:
>
> Vary: *
> Vary: Accept
> Vary: Accept-Encoding
> Vary: Accept-Encoding
> Vary: Accept-Encoding, Accept-Encoding
> Vary: Accept-Encoding,Host
> Vary: Accept-Encoding, User-Agent
> Vary: Accept-Encoding,User-Agent
> Vary: Accept-Encoding,X-Device-Type, Accept-Encoding
> Vary: Accept-Encoding,X-UA-Device
> Vary: If-None-Match, If-Modified-Since
> Vary: Origin
> Vary: Origin, Access-Control-Request-Headers,
Access-Control-Request-Method
> Vary: User-Agent
> Vary: User-Agent,Accept
>
> and all of them have no %20
>
>
> --
> Best Regards,
>
> Heiler Bemerguy
> Network Manager - CINBESA
> 55 91 98151-4894/3184-1751
> Em 06/06/2016 15:01, Yuri Voinov escreveu:
>>
>
>
> 06.06.2016 23:47, Heiler Bemerguy пишет:
>
>
>
>
>       > These are the variations for the "accept-encoding" tag I
>       found when sniffing my client's connections. And they're of all
>       kind. Newer and older browsers, mobile phones, windows updates,
>       whatever..
>
>
>
>       > It got a total of 11.437 requests from clients to squid.
>
>
>
>
>
>       > *accept-encoding: gzip, deflate**
>
>       > **Accept-Encoding: gzip, deflate**
>
>       > **Accept-Encoding: gzip,deflate**
>
>       > **Accept-Encoding: gzip, deflate, lzma, sdch**
>
>       > **Accept-Encoding: gzip, deflate, sdch**
>
>       > **Accept-Encoding: gzip,deflate,sdch**
>
>       > **Accept-Encoding: gzip, xeflate, sdch**
>
>       > **Accept-Encoding: identity**
>
>       > **Accept-Encoding: identity;q=1, *;q=0*
>
>
>
>
>
>       > Notice that some have spaces, some not, but I haven't seen
>       any "%20" representing a space. Is the "%20" put there by squid
>       itself?
>
> No. This comes from web-servers.
>
>
>
>
>
>       > --
>
>       > Best Regards,
>
>
>
>       > Heiler Bemerguy
>
>       > Network Manager - CINBESA
>
>       > 55 91 98151-4894/3184-1751
>
>
>
>
>
>       > Em 06/06/2016 12:08, Yuri Voinov escreveu:
>
>       > Ok, why not to replace %20 to original space symbol?
>
>
>
>
>
>       > 06.06.2016 20:27, joe пишет:
>
>       > >>> not good just to strip %20 lol as i post it
>       remove also  string was belong to
>
>       > >>> the date
>
>       > >>> we need to remove all of those string start with
>       ,%20    as ,%20sdch so
>
>       > >>> its not eassy detection
>
>       > >>>
>
>       > >>> it kill 
>       if-modified-since="Mon,%2006%20Jun%202016%2014%3A31%3A32%20GMT",
>
>       > >>>
>
>       > >>> if you notice this string in vary  has %20 so
>       just wide search and
>
>       > clear it
>
>       > >>> remove those :(
>
>       > >>>
>
>       > >>>
>
>       > >>>
>
>       > >>> --
>
>       > >>> View this message in context:
>
>
>
http://squid-web-proxy-cache.1019090.n4.nabble.com/Vary-object-loop-returns-tp4677716p4677856.html
>
>       > >>> Sent from the Squid - Users mailing list archive
>       at Nabble.com.
>
>       > >>> _______________________________________________
>
>       > >>> squid-users mailing list
>
>       > >>> squid-users at lists.squid-cache.org
>
>       > >>>
>       http://lists.squid-cache.org/listinfo/squid-users
>
>       >>
>
>       >>
>
>       >>
>
>       >> _______________________________________________
>
>       >> squid-users mailing list
>
>       >> squid-users at lists.squid-cache.org
>
>       >> http://lists.squid-cache.org/listinfo/squid-users
>
>
>
>
>
>
>
>       > _______________________________________________
>
>       > squid-users mailing list
>
>       > squid-users at lists.squid-cache.org
>
>       > http://lists.squid-cache.org/listinfo/squid-users
>
>>
>>
>>
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXVb8HAAoJENNXIZxhPexGLFYH+wYzHsa465++FyY/JxlAL10x
ztUCw+ciuEg3TYHWX84tFyL8ooX/CpxzVzf/cf4KbkEDGx6elOxHPnV1PljGXaut
aApM4yxIFA3R9nVAZbGzXkgM2InZ6mGfdI4xHp9aifklqG6Kjnhl6/zk3m2rJXIe
GLIAUnzkKKcDPW/g33vFCgiLAYKbVRnlf8vlgShu/NkgiYgWjhuonDUIQ6mOtlIj
nbDLKUzPVhIG8sfblYmYd1uH0vfonfGeGCbDabo66zaJHC9E4GhcphZan7gon6NF
aTDKw1E2wTN262UtFLSTkPsYjFZCl/TcIBhED/7EQ62LsuqqP+Mtr7NQQHFZdJg=
=KWYR
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160607/9bcb4189/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160607/9bcb4189/attachment-0001.key>


More information about the squid-users mailing list