[squid-users] Squid 3.5.11 always can't cache Wikipedia content

Eliezer Croitoru eliezer at ngtech.co.il
Thu Nov 26 18:11:25 UTC 2015


Yuri,

I want to suggest something.
I wrote a log format which can help to understand couple things in 
issues such as the one you are having.
##TEST logs
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" "%{Cache-Control}<h" "%{Vary}<h"
access_log daemon:/var/log/squid/access.log cache_headers
##END

You can use the above logs and see what happens.
It will give many answers to many cases just reading it.
I have couple scripts to analyze this log and to present a better picture.

Let me know if you want the scripts.

Eliezer



More information about the squid-users mailing list