[squid-users] squid 4.0.17 accept-encoding.. sending gzip?!
Heiler Bemerguy
heiler.bemerguy at cinbesa.com.br
Tue Dec 27 17:31:14 UTC 2016
Hi,
refresh_pattern -i
\.(jp[eg]{1,2}|pdf|gif|pn[pg]|bmp|tiff|ico|swf|css|js|ad|png)$ 10080 80%
120960 ignore-no-store ignore-reload ignore-must-revalidate
ignore-private override-expire store-stale
But it shouldn't change the length of the object, the encoding type of
the object, the "Server" header of the object..... or am I wrong?
--
Best Regards,
Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751
Em 27/12/2016 14:26, Eliezer Croitoru escreveu:
>
> May I ask how did you manager to tell squid to cache a no-cache object?
>
> From the dump it states:
>
> Cache-Control: max-age=0, no-cache, no-store, must-revalidate
>
>
> Which means it should not be cached….
>
> Eliezer
>
> ----
>
> Eliezer Croitoru <http://ngtech.co.il/lmgtfy/>
> Linux System Administrator
> Mobile: +972-5-28704261
> Email: eliezer at ngtech.co.il
>
> *From:*squid-users [mailto:squid-users-bounces at lists.squid-cache.org]
> *On Behalf Of *Heiler Bemerguy
> *Sent:* Tuesday, December 27, 2016 4:03 PM
> *To:* squid-users at squid-cache.org
> *Subject:* Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!
>
> The server doesn't define any "content-encoding". This is the
> *original **server *reply, tcpdumped:
>
> HTTP/1.1 200 OK
> Set-Cookie: ACE-STICKY=R1291873686; path=/; expires=Mon, 26-Dec-2016
> 23:51:26 GMT
> Date: Mon, 26 Dec 2016 19:36:06 GMT
> Accept-Ranges: bytes
> Content-Length: 152264
> Content-Type: text/css; charset=UTF-8
> X-Powered-By: Servlet/3.0 JSP/2.2
> Cache-Control: max-age=0, no-cache, no-store, must-revalidate
> Pragma: no-cache
> Content-Language: en
> Set-Cookie:
> JSESSIONID=DCLCYhxGPHvpfnPNsPv51cGkS55GPqB4b3xJsybLgLJpyqPZZhNW!-162452808;
>
> path=/; HttpOnly
>
>
>
> --
> Best Regards,
> Heiler Bemerguy
> Network Manager - CINBESA
> 55 91 98151-4894/3184-1751
>
> Em 26/12/2016 21:07, Alex Rousskov escreveu:
>
> On December 26, 2016 10:11:55 AM Heiler Bemerguy wrote:
>
>
> *Accept-Encoding: none*
>
>
>
> *Content-Encoding: gzip*
>
>
> These are end-to-end headers. Squid does not modify or add them
> (unless you tell it to do that).
>
> The origin server does not honor the bogus "none" content coding
> requested by the client.
>
> HTH,
>
> Alex.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161227/95ac09e3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 11297 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161227/95ac09e3/attachment-0001.png>
More information about the squid-users
mailing list