On 10/08/2014 2:56 a.m., Kinkie wrote:
> Hello Mark,
> access.log contains the list of URLs requested by any client to the
> cache (if enabled, of course).
> If you wish, you can then verify whether they have been cached (and
> whether the cached entry is still considered valid) by requesting them
> (or at least their headers via the HEAD http verb) with the
> Cache-Control: only-if-cached HTTP header - you can do that with any
> command-line HTTP client such as curl or wget.
You have to disable strip_query_terms (set to "no") in order to do this
on dynamic domains. Also, when Vary: header exists in the server
response the content of the request headers listed in Vary matter.
An easier way is (probably) to use the same ACL from "cache deny blah"
on a line "access_log stdio:uncached.log blah". That uncached.log will
contain only the transactions which were forced not to cache.
NP: This does not necessarily mean they would cache normally though.
Amos
Received on Sat Aug 09 2014 - 23:57:29 MDT
This archive was generated by hypermail 2.2.0 : Mon Aug 11 2014 - 12:00:06 MDT