On Wednesday 04 June 2003 01:10 pm, AJ Lemke wrote:
> Hello all,
>
> Is there a limit to how long you can cache a site for? Is 43200
> minutes (30 days) too long for squid to handle.
If you mean store it, I think the default limit is one year
(reference_age, but it may be gone in 2.5). If you mean time between
refreshes (judging by below, you do), that's probably an int, so it can
go a rediculously long time.
> # SiteA
> refresh_pattern -i www\.SiteA\.com 10 20% 1440
> ignore-reload
> # Default pattern
> refresh_pattern . 5 20% 1440
> ignore-reload
>
> Will SiteA get cached for 10 minute or 5 minutes.
It will use the first matching pattern. Which means 10 minutes, but
addresses like
http://relay.domain.com/relay.php?site=www.sitea.com
will also hit the 10 minute pattern. You may want to use
^http://www\.sitea\.com
-- Brian
Received on Wed Jun 04 2003 - 23:31:22 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:15 MST