What version of squid are you using? what squid.conf?
CloudFlare in general is cache friendly but squid maybe have a bug here
and there.
To test a theory I would like you to try the next log format:
logformat cache_headers %ts.%03tu %6tr %>a %Ss/%03>Hs %<st %rm %ru %[un
%Sh/%<a %mt "%{Cache-Control}>h" "%{Cache-Control}>ha" "%{Pragma}>h"
"%{Pragma}>ha" "%{User-Agent}>h"
access_log daemon:/var/log/squid/access.log cache_headers
Change the log filename or\and path as you need.
Then when you will have enough traffic logged in it send me the file
somehow privately for analysis.
Also have you tried to use REDBOT to test the page for cachability?
What ideas did you had until now?
Just as a side note I want to mention that I have seen Varnish users
which removes many times the cookies for pub JPG pictures and it helps
with all sort of thinks but in this case the site sent you a cookie.
In order to make this object publicly cachable the cookie must disappear
to my opinion or else all of the clients will get the same cookie....
which is a bad idea.
I will wait for the data so I can understand the picture better.
Eliezer
On 20/11/2015 01:59, David Touzeau wrote:
Hi
It seems that squid is not able to save in cache objects from CloudFlare
websites.
Here it is the header information:
Connecting to 127.0.0.1:8182... connected.
Proxy request sent, awaiting response...
HTTP/1.1 200 OK
Date: Thu, 19 Nov 2015 18:03:31 GMT
Content-Type: image/png
Set-Cookie: __cfduid=d1ca8a069c4db15a451d81f2327781ced1447956211;
expires=Fri, 18-Nov-16 18:03:31 GMT; path=/; domain=.mutaz.net; HttpOnly
Last-Modified: Fri, 23 Oct 2015 11:18:39 GMT
Vary: Accept-Encoding
X-Cache: HIT from Backend
CF-Cache-Status: HIT
Server: cloudflare-nginx
CF-RAY: 247dd510143a08fc-CDG
X-Cache: MISS from MySquid3-5-10
X-Cache-Lookup: MISS from MySquid3-5-10:3128
Transfer-Encoding: chunked
Connection: keep-alive
I have seen the same issue in tracker as 3806
http://bugs.squid-cache.org/show_bug.cgi?id=3806
Can somebody encounter the same behavior with latest squid branch ?
best regards.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users