Re: [squid-users] Accelerator not Caching for specified times.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 19 Jun 2003 17:34:37 +0200

On Thursday 19 June 2003 16.13, AJ Lemke wrote:
> Just following up on this. I have not been able to solve this. I
> have tried changing the cache time to lower values and the site
> caches for the specified time. I start bringing the times up
> greater than 4 hours and caching becomes irratic. I have it
> specified for 2 day as of right now. It seems to caches for about
> 24-30 hours. There seems to be no pattern to to the cache times.
>
> Any help would be appreciated.

Please enable log_mime_hdrs and then show the request history of the
URL in question, and your refresh_pattern settings.

log_mime_hdrs allows us to see what is going on, but to gain an
understanding some history of the object is needed

  1) A initial TCP_MISS/TCP_REFRESH_MISS where the object got cached
  2) Maybe some TCP_HIT [remove duplicates if there is many]
  2) The next TCP_MISS/TCP_REFRESH_MISS where you think the object
should have been a HIT..

This can then be applied to rules about cachable request and your
refresh_patterns to verify if the object should really have been a
hit, or if there is a valid reason to why it was processed as a cache
miss.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Thu Jun 19 2003 - 09:34:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:27 MST