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: elie...@ngtech.co.il

*From:*squid-users [mailto:squid-users-boun...@lists.squid-cache.org] *On Behalf Of *Heiler Bemerguy
*Sent:* Tuesday, December 27, 2016 4:03 PM
*To:* squid-us...@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.


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

Reply via email to