Search squid archive

Re: Help with a tcp_miss/200 issue

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

 



On 13.03.2012 03:13, James Ashton wrote:
Any thoughts guys?

This has me baffled.  I am digging through list archives, but nothing
relevant so far.
I figure it has to be a response header issue.  I just don't see it.


Could be. You will need to know the headers being sent into Squid "squid1.kelbymediagroup.com" from the origin server though. I suspect it may be missing Date: header or something like that making the original non-cacheable. Squid does many fixing-up of details like that on its output to ensure the output is more friendly to downstream clients.


Using Squid 3.1.8

Or it could be some bug in that particular version. Tried the more current .19 release?


Config seems okay.

#
visible_hostname squid2.kelbymediagroup.com
#
refresh_pattern

(phpmyadmin|process|register|login|contact|signup|admin|gateway|ajax|account|cart|checkout|members)
0 10% 0
refresh_pattern (blog|feed) 300 20% 4320
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 40320 75% 86400
refresh_pattern -i \.(iso|avi|wav|mp3|mpeg|swf|flv|x-flv)$ 1440 40% 40320
refresh_pattern -i \.mp4$       1440       90%     43200
refresh_pattern -i \.(css|js)$ 300 40% 7200
refresh_pattern -i \.(html|htm)$ 300 40% 7200
refresh_pattern (/cgi-bin/|\?) 300 20% 4320
refresh_pattern . 300 40% 40320
#



Amos



----- Original Message -----
From: "James Ashton"

Hello all,
I am trying to improve caching/acceleration on a series of wordpress sites.
Almost all objects are being cached at this point other than the page
HTML itself.
All I am getting there is TCP_MISS/200 log lines.

The request is a GET for the URL  http://planetphotoshop.com

At the moment my response header is:

Cache-Control        max-age=60
Cneonction        close
Connection        keep-alive
Content-Encoding        gzip
Content-Length        15339
Content-Type        text/html; charset=UTF-8
Date        Fri, 09 Mar 2012 13:58:01 GMT
Server        Apache/2.2.15 (CentOS)
Vary        Accept-Encoding
Via        1.0 squid1.kelbymediagroup.com (squid)
X-Cache        MISS from squid1.kelbymediagroup.com
X-Cache-Lookup        MISS from squid1.kelbymediagroup.com:80
X-Pingback        http://planetphotoshop.com/xmlrpc.php


I dont see anything preventing caching....

Any thoughts or ideas?

Thank you in advance for the help.

James



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

  Powered by Linux