Re: [squid-users] exclude certain URLS from reverse proxies

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 13 Mar 2004 00:35:15 +0100 (CET)

On Fri, 12 Mar 2004, Nick wrote:

> We are using squid 2.4 as a reverse proxy. I would like to exclude
> certain URL's from being cached but the URLS are dynamically generated.
> Each URL that I would like to exclude from cache contains a certain
> string in the URL (www.blah.com?variable=A&someting=nothing) I would
> like it so everytime variable=a is in a URL for squid to exclude it from
> cache. How could I achieve this.

See the no_cache directive and the urlpath_regex acl.

urlpath_regex (and url_regex) looks into the URL including query string.

Regards
Henrik
Received on Fri Mar 12 2004 - 16:35:18 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST