Search squid archive

Why always refresh?

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

 



Hello,

I have a file common.js file, which is now being cached by squid 3, e.g.

Sample response
===============
 Last-Modified[Thu, 11 Oct 2007 05:04:34 GMT]
      Accept-Ranges[bytes]
      Content-Length[27157]
      Content-Type[application/x-javascript]
      Date[Thu, 02 Oct 2008 17:54:30 GMT]
      Expires[Sun, 12 Oct 2008 17:54:30 GMT]
      Cache-Control[max-age=864000]
      Age[70]
      Connection[keep-alive]
=======================

I found quite a number of clients [~20%], which don't follow the
expire time, and always looking
for a refresh at each requests, which end up with a number of 304
response in squid log.

E.g.

cat squid-access.log | grep 'common.js' | grep '" 304' | grep
'10.10.10.34' | wc -l => 22

I suppose for default settings, those clients should not contact my
server for IMS request?

So, any things I missed?


Thanks.

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

  Powered by Linux