[squid-users] squid 4.0.17 gziped and with another headers? (clean cache)
Alex Rousskov
rousskov at measurement-factory.com
Tue Dec 27 00:16:59 UTC 2016
On December 26, 2016 1:12:36 PM Heiler Bemerguy
<heiler.bemerguy at cinbesa.com.br> wrote:
> This is the pure get, without proxy.. tcpdumped:
> GET /saginternet/resources/bootstrap/css/bootstrap.min.css HTTP/1.1
> Host: agendamento.inss.gov.br
> User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101
> Firefox/50.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
> Accept-Encoding: none
> Connection: keep-alive
> Upgrade-Insecure-Requests: 1
>
> The pure reply:
> 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
>
>
> Now this is the reply the squid is sending to me while asking the same
> exact file (full url):
> HTTP/1.1 200 OK
> Accept-Ranges: bytes
> Last-Modified: Tue, 14 Jun 2016 14:15:36 GMT
> Content-Language: en
> *Content-Encoding: gzip*
> Content-Type: text/html
> *Server: Oracle-Web-Cache-11g/11.1.1.6.0 (N;ecid=85114765013486139,0:1)*
> Date: Mon, 26 Dec 2016 19:36:52 GMT
> X-Powered-By: Servlet/3.0 JSP/2.2
> Cache-Control: max-age=0, no-cache, no-store, must-revalidate
> Pragma: no-cache
> *Content-Length: 0*
> Age: 0
> X-Cache: HIT from proxy
> Via: 1.1 proxy (squid)
> Connection: keep-alive
>
> Where did it get this SERVER name and this ZERO content-length ?!?!
>From the origin server via the Squid cache, probably because you configured
Squid to violate HTTP Cache-Control rules.
Alex.
More information about the squid-users
mailing list