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

From: AJ Lemke <aj.lemke@dont-contact.us>
Date: Thu, 19 Jun 2003 12:03:33 -0500

Here is the Refresh Pattern
# www.someUrl.org 1 month
refresh_pattern -i www\.someUrl3\.org 43200 20% 1440
ignore-reload
refresh_pattern -i someUrl3\.org 43200 20% 1440
ignore-reload

I have the logfile I have grepped out the www.someurl.com so only that
record is returned.
The access log is about a meg so I put it up on the web.
http://Base1.securitylabs.com/access.txt

Thanks for your help.

AJ

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Thursday, June 19, 2003 10:35 AM
To: AJ Lemke; squid-users@squid-cache.org
Subject: Re: [squid-users] Accelerator not Caching for specified times.

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 - 11:03:47 MDT

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