Look for nocache directive or cache directive in 2.5
Regards, Pablo
On 12/4/06, CARTWRIGHT, Guy, GBM <[EMAIL PROTECTED]> wrote:
Hi
I need squid to cache URLs with query strings for a maximum of 5 minutes
regardless of expires/max-age headers.
Tried the following but to no avail:
refresh_
> Look for nocache directive or cache directive in 2.5
How can I specify a time limit of 5 minutes with the no_cache directive?
Can you explain further please...
> Regards, Pablo
>
> On 12/4/06, CARTWRIGHT, Guy, GBM <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > I need squid to cache URLs with que
You have to play with the refresh_pattern to get this cached for 5
minutes, and remove the question mark "?" from the no_cache directive
to instruct Squid to be able to cache url with question marks.
Hope this helps,
Regards , Pablo
On 12/4/06, CARTWRIGHT, Guy, GBM <[EMAIL PROTECTED]> wrote:
>
> You have to play with the refresh_pattern to get this cached
> for 5 minutes, and remove the question mark "?" from the
> no_cache directive to instruct Squid to be able to cache url
> with question marks.
I've got the URLs to cache ok, it's getting them to refresh after 5 minutes
is where
Guym I don't know how to hook the "?", is there any other pattern you
can use ? (eg. asp, jsp, php, aspx, path ?)
Regards, Pablo
On 12/5/06, CARTWRIGHT, Guy, GBM <[EMAIL PROTECTED]> wrote:
> You have to play with the refresh_pattern to get this cached
> for 5 minutes, and remove the question m
tis 2006-12-05 klockan 09:29 + skrev CARTWRIGHT, Guy, GBM:
> refresh_pattern \? 5 100% 5 override-expire
>
> Does this look correct, or am I missing something?
Looks fine to me. Just make sure it's before any other refresh_pattern
which may apply to the request. The first match is used.