clearing cache and not caching CGI questions

From: John Castillo <john@dont-contact.us>
Date: Mon, 26 Jun 2000 14:00:58 -0700

hello all,

i'm very new to using squid so please excuse what could be a relatively simple question

I'm currently running Squid 2 on a RH6.2 system

1 ) i've read the Faq 12.20 How does Squid decide to refresh a cached object?
from what i've read Squid 2 uses just simple math to determine how old a object is. the FAQ explains that the the algorithms calcuated variables are compared to the refresh_pattern rule and its parameters to determine whether an object is fresh or not. can someone provide an example of the refresh pattern rule along with a parameter. should i specify the rules in squid.conf?

2) i have a situation where i do not want to cache a certain type of file with the filename of 1,blhablah,blahblah.html

Under FAQ Section 7.8, the acl should look like

acl MYRULE url_regex 1,
no_cache deny MYRULE

is this correct? why are ^ and $ used in the examples?
Received on Mon Jun 26 2000 - 15:04:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:11 MST