Hello again,
 Does anyone else have any ideas on this?

Thank You
James

----- Original Message -----
From: "James Ashton" <ja...@gitflorida.com>
To: "Amos Jeffries" <squ...@treenet.co.nz>
Cc: squid-users@squid-cache.org
Sent: Tuesday, March 13, 2012 8:44:54 AM
Subject: Re: [squid-users] Help with a tcp_miss/200 issue

Thanks Amos,

The web servers reply to squid with these headers

=====
Cache-Control   max-age=60
Connection      Keep-Alive
Content-Encoding        gzip
Content-Length  15139
Content-Type    text/html; charset=UTF-8
Date    Tue, 13 Mar 2012 12:42:26 GMT
Expires Tue, 13 Mar 2012 12:43:26 GMT
Keep-Alive      timeout=15, max=5000
Server  Apache/2.2.15 (CentOS)
Vary    Accept-Encoding,User-Agent
X-Pingback      http://planetphotoshop.com/xmlrpc.php
=====


They look good to me...
Do you see anything missing from this?

Thank You
James

----- Original Message -----
From: "Amos Jeffries" <squ...@treenet.co.nz>
To: squid-users@squid-cache.org
Sent: Monday, March 12, 2012 10:39:13 PM
Subject: Re: [squid-users] Help with a tcp_miss/200 issue

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

Reply via email to