Re: [squid-users] Poor cache

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 22 Aug 2014 01:14:03 +1200

On 21/08/2014 11:56 p.m., Délsio Cabá wrote:
> Hi,
>
> I have just update to the latest version, and the results are clear:
> cat /var/log/squid/access.log | awk '{print $4}' | sort | uniq -c | sort -rn
> 486561 TCP_MISS/200
> 89612 TCP_MISS/304
> 52123 TCP_MEM_HIT/200
> 40408 TCP_MISS/206
> 36267 TCP_MISS/302
> 20904 TCP_MISS/204
> 12246 TCP_IMS_HIT/304
> 12171 TCP_MISS/404
> 10533 TCP_MISS/301
> 9145 TCP_MISS/000
> 6004 TCP_OFFLINE_HIT/200
> ......
>
> It's said that MISS/301, MISS/303 are not cacheable without special
> instructions.
>
> What are those SPECIAL instructions?

http://tools.ietf.org/html/rfc7234#section-3

301 is a status code defined as cacheable by default.
303 depends on the other conditions.

Amos
Received on Thu Aug 21 2014 - 13:14:28 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 21 2014 - 12:00:06 MDT