[squid-users] Not all html objects are being cached

Yuri yvoinov at gmail.com
Fri Jan 27 12:03:09 UTC 2017


I understand that I want to conclusively prove its case. But for the 
sake of objectivity - dynamically generated only dynamic pages? Maybe 
the solution is still the administrator to leave? If I see that 
something is broken or users complain about me - directive *cache deny* 
already canceled?


27.01.2017 17:54, Garri Djavadyan пишет:
> On Fri, 2017-01-27 at 15:47 +0600, Yuri wrote:
>> --2017-01-27 15:29:54--  https://www.microsoft.com/ru-kz/
>> Connecting to 127.0.0.1:3128... connected.
>> Proxy request sent, awaiting response...
>>     HTTP/1.1 200 OK
>>     Cache-Control: no-cache, no-store
>>     Pragma: no-cache
>>     Content-Type: text/html
>>     Expires: -1
>>     Server: Microsoft-IIS/8.0
>>     CorrelationVector: BzssVwiBIUaXqyOh.1.1
>>     X-AspNet-Version: 4.0.30319
>>     X-Powered-By: ASP.NET
>>     Access-Control-Allow-Headers: Origin, X-Requested-With, Content-
>> Type,
>> Accept
>>     Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
>>     Access-Control-Allow-Credentials: true
>>     P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI
>> TELo
>> OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
>>     X-Frame-Options: SAMEORIGIN
>>     Vary: Accept-Encoding
>>     Content-Encoding: gzip
>>     Date: Fri, 27 Jan 2017 09:29:56 GMT
>>     Content-Length: 13322
>>     Set-Cookie: MS-CV=BzssVwiBIUaXqyOh.1; domain=.microsoft.com;
>> expires=Sat, 28-Jan-2017 09:29:56 GMT; path=/
>>     Set-Cookie: MS-CV=BzssVwiBIUaXqyOh.2; domain=.microsoft.com;
>> expires=Sat, 28-Jan-2017 09:29:56 GMT; path=/
>>     Strict-Transport-Security: max-age=0; includeSubDomains
>>     X-CCC: NL
>>     X-CID: 2
>>     X-Cache: MISS from khorne
>>     X-Cache-Lookup: MISS from khorne:3128
>>     Connection: keep-alive
>> Length: 13322 (13K) [text/html]
>> Saving to: 'index.html'
>>
>> index.html          100%[==================>]  13.01K --.-KB/s    in
>> 0s
>>
>> 2017-01-27 15:29:57 (32.2 MB/s) - 'index.html' saved [13322/13322]
>>
>> Can you explain me - for what static index.html has this:
>>
>> Cache-Control: no-cache, no-store
>> Pragma: no-cache
>>
>> ?
>>
>> What can be broken to ignore CC in this page?
> Hi Yuri,
>
>
> Why do you think the page returned for URL [https://www.microsoft.com/r
> u-kz/] is static and not dynamically generated one?
>
> The index.html file is default file name for wget.
>
> man wget:
>    --default-page=name
>         Use name as the default file name when it isn't known (i.e., for
>         URLs that end in a slash), instead of index.html.
>
> In fact the https://www.microsoft.com/ru-kz/index.html is a stub page
> (The page you requested cannot be found.).
>
>
> Garri
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170127/e93da604/attachment.html>


More information about the squid-users mailing list