Search squid archive

Re: TCP_MISS/304 question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 


13.10.2016 19:41, Amos Jeffries пишет:
> On 14/10/2016 1:38 a.m., Yuri Voinov wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>> 
>> Hi gents.
>>
>> I have very stupid question.
>>
>> Look at this access.log entry:
>>
>> 1476236018.506     85 192.168.100.103 TCP_MISS/304 354 GET
>> https://www.gazeta.ru/nm2015/gzt/img/logo_footer.png -
>> HIER_DIRECT/81.19.72.2 -
>>
>> I'm see this:
>>
>> http://wiki.squid-cache.org/SquidFaq/SquidLogs#HTTP_status_codes
>>
>> Code 304 references to RFC 2616. Ok, opens it:
>>
>> https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
>>
>
> The reference is outdated. Current requirements are defined in
> <https://tools.ietf.org/html/rfc7232#section-4.1>
>
> ...
>>
>> According to RFC 2616, it comes from client's browser cache, make
>> revalidation, discover content no changed and return 304 code.
>>
>> So, it must means (exactly) CLIENT_HIT, right?
>>
>
> No. Squid does not receive transactions that would match the meaning of
> the tags CLIENT_HIT.
Ok.
>
>
>
>> My question is:
>>
>> *Why Squid register this as TCP_MISS/304 in access.log, when logically
>> expect TCP_CLIENT_HIT/304?*
>
> This is a MISS on the Squid cache. A 304 from the server delivered to
> the client.
Ok, 304 delivered. But content - not, right? So, this is HIT - even not
Squid's hit, yes?
>
>
> It might be a CLIENT_IMS_UNMODIFIED or CLIENT_INM_UNMODIFIED if Squid
> had codes for those cases.
Ok, Squid has?
>
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJX/4/AAAoJENNXIZxhPexGfaYIAMnhMWE2doVT7nsviIavXr8w
T2iOEI/2n1IBDyDYk6+IduuwuaRrt4JtAxTkeOap4Li9nEGtcxL2LNMzUs4fC6sc
4tZ489oI0oz7vR88rx/5jH9ylnXtfx91lERrT4X4KThIuFswp3u++d1yEV37ZjTF
3OnrO46PsveKAqO/qWJXRLh/Gp2X7ohFmNfDSwakFOugjbqDa4XLROf/iygHy08w
q0uLRJLzHDDRYJtTKuvWgY1t7uW/KcHLA31aeN8AYjm4hIFHfS055sFFtry1wczl
H0hFhoGR1cjnMK8KOrzb86pkqukOW68DLGgCJt726WaZUZwf+TAhEn7/q9PlFAY=
=zJff
-----END PGP SIGNATURE-----

Attachment: 0x613DEC46.asc
Description: application/pgp-keys

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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux