<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
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.<br>
<br>
07.06.2016 0:09, Heiler Bemerguy пишет:<br>
<span style="white-space: pre;">><br>
><br>
> Web servers uses the "vary" tag, not "accept-encoding" tag
exactly. Like these sniffed examples:<br>
><br>
> Vary: *<br>
> Vary: Accept<br>
> Vary: Accept-Encoding<br>
> Vary: Accept-Encoding<br>
> Vary: Accept-Encoding, Accept-Encoding<br>
> Vary: Accept-Encoding,Host<br>
> Vary: Accept-Encoding, User-Agent<br>
> Vary: Accept-Encoding,User-Agent<br>
> Vary: Accept-Encoding,X-Device-Type, Accept-Encoding<br>
> Vary: Accept-Encoding,X-UA-Device<br>
> Vary: If-None-Match, If-Modified-Since<br>
> Vary: Origin<br>
> Vary: Origin, Access-Control-Request-Headers,
Access-Control-Request-Method<br>
> Vary: User-Agent<br>
> Vary: User-Agent,Accept<br>
><br>
> and all of them have no %20<br>
><br>
><br>
> -- <br>
> Best Regards,<br>
><br>
> Heiler Bemerguy<br>
> Network Manager - CINBESA<br>
> 55 91 98151-4894/3184-1751<br>
> Em 06/06/2016 15:01, Yuri Voinov escreveu:<br>
>><br>
><br>
><br>
> 06.06.2016 23:47, Heiler Bemerguy пишет:<br>
><br>
><br>
><br>
><br>
> > These are the variations for the "accept-encoding"
tag I<br>
> found when sniffing my client's connections. And
they're of all<br>
> kind. Newer and older browsers, mobile phones, windows
updates,<br>
> whatever..<br>
><br>
><br>
><br>
> > It got a total of 11.437 requests from clients to
squid.<br>
><br>
><br>
><br>
><br>
><br>
> > *accept-encoding: gzip, deflate**<br>
><br>
> > **Accept-Encoding: gzip, deflate**<br>
><br>
> > **Accept-Encoding: gzip,deflate**<br>
><br>
> > **Accept-Encoding: gzip, deflate, lzma, sdch**<br>
><br>
> > **Accept-Encoding: gzip, deflate, sdch**<br>
><br>
> > **Accept-Encoding: gzip,deflate,sdch**<br>
><br>
> > **Accept-Encoding: gzip, xeflate, sdch**<br>
><br>
> > **Accept-Encoding: identity**<br>
><br>
> > **Accept-Encoding: identity;q=1, *;q=0*<br>
><br>
><br>
><br>
><br>
><br>
> > Notice that some have spaces, some not, but I
haven't seen<br>
> any "%20" representing a space. Is the "%20" put there
by squid<br>
> itself?<br>
><br>
> No. This comes from web-servers.<br>
><br>
><br>
><br>
><br>
><br>
> > --<br>
><br>
> > Best Regards,<br>
><br>
><br>
><br>
> > Heiler Bemerguy<br>
><br>
> > Network Manager - CINBESA<br>
><br>
> > 55 91 98151-4894/3184-1751<br>
><br>
><br>
><br>
><br>
><br>
> > Em 06/06/2016 12:08, Yuri Voinov escreveu:<br>
><br>
> > Ok, why not to replace %20 to original space
symbol?<br>
><br>
><br>
><br>
><br>
><br>
> > 06.06.2016 20:27, joe пишет:<br>
><br>
> > >>> not good just to strip %20 lol as i
post it<br>
> remove also string was belong to<br>
><br>
> > >>> the date<br>
><br>
> > >>> we need to remove all of those string
start with<br>
> ,%20 as ,%20sdch so<br>
><br>
> > >>> its not eassy detection<br>
><br>
> > >>><br>
><br>
> > >>> it kill <br>
>
if-modified-since="Mon,%2006%20Jun%202016%2014%3A31%3A32%20GMT",<br>
><br>
> > >>><br>
><br>
> > >>> if you notice this string in vary
has %20 so<br>
> just wide search and<br>
><br>
> > clear it<br>
><br>
> > >>> remove those :(<br>
><br>
> > >>><br>
><br>
> > >>><br>
><br>
> > >>><br>
><br>
> > >>> --<br>
><br>
> > >>> View this message in context:<br>
><br>
><br>
>
<a class="moz-txt-link-freetext" href="http://squid-web-proxy-cache.1019090.n4.nabble.com/Vary-object-loop-returns-tp4677716p4677856.html">http://squid-web-proxy-cache.1019090.n4.nabble.com/Vary-object-loop-returns-tp4677716p4677856.html</a><br>
><br>
> > >>> Sent from the Squid - Users mailing
list archive<br>
> at Nabble.com.<br>
><br>
> > >>>
_______________________________________________<br>
><br>
> > >>> squid-users mailing list<br>
><br>
> > >>> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
><br>
> > >>><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
> >><br>
><br>
> >><br>
><br>
> >><br>
><br>
> >>
_______________________________________________<br>
><br>
> >> squid-users mailing list<br>
><br>
> >> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
><br>
> >>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> > _______________________________________________<br>
><br>
> > squid-users mailing list<br>
><br>
> > <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
><br>
> > <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> squid-users mailing list<br>
>> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
>> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJXVb8HAAoJENNXIZxhPexGLFYH+wYzHsa465++FyY/JxlAL10x
<br>
ztUCw+ciuEg3TYHWX84tFyL8ooX/CpxzVzf/cf4KbkEDGx6elOxHPnV1PljGXaut
<br>
aApM4yxIFA3R9nVAZbGzXkgM2InZ6mGfdI4xHp9aifklqG6Kjnhl6/zk3m2rJXIe
<br>
GLIAUnzkKKcDPW/g33vFCgiLAYKbVRnlf8vlgShu/NkgiYgWjhuonDUIQ6mOtlIj
<br>
nbDLKUzPVhIG8sfblYmYd1uH0vfonfGeGCbDabo66zaJHC9E4GhcphZan7gon6NF
<br>
aTDKw1E2wTN262UtFLSTkPsYjFZCl/TcIBhED/7EQ62LsuqqP+Mtr7NQQHFZdJg=
<br>
=KWYR
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>