On Mon, 28 Mar 2005, Brad Taylor wrote:
There is no reason I should get an error with the below, correct?
acl JS url_regex .js$
no_cache deny JS
Looks good to me.
Do you get an error with this config?
Regards
Henrik
On Mon, 28 Mar 2005, Brad Taylor wrote:
Does order matter in setting up a no_cache with an acl?
Yes.
All acls must be defined before they are used in squid.conf.
no_cache is like http_access an ordered list of rules where the first
matching rule applies.
Regards
Henrik
There is no reason I should get an error with the below, correct?
acl JS url_regex .js$
no_cache deny JS
-Original Message-
From: Brad Taylor
Sent: Monday, March 28, 2005 4:52 PM
To: Henrik Nordstrom
Cc: Squid Users
Subject: RE: [squid-users] js files being cached
Does order matter in
ssage-
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 3:16 PM
To: Brad Taylor
Cc: Squid Users
Subject: Re: [squid-users] js files being cached
On Thu, 17 Mar 2005, Brad Taylor wrote:
> How do I make sure .js files are not cached and only image files are?
U
On Thu, 17 Mar 2005, Brad Taylor wrote:
How do I make sure .js files are not cached and only image files are?
Use no_cache with a url_regex or rep_mime_type acl.
Regards
Henrik
How do I make sure .js files are not cached and only image files are?
Here is what I have now for refresh_patterns:
refresh_pattern ^ftp: 144020% 10080
refresh_pattern ^gopher:14400% 1440
refresh_pattern . 0 20% 4320
refresh_pattern -i \.