Re: [squid-users] How to configure URLs list to bypass the squid cache??

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Wed, 16 Jul 2008 17:55:15 +0200

> > I want to configure the list of URLs for which we should not serve data
> > from the Squid cache; and squid should always get it fresh from the
> > server.
> >
> > Is there a way we can configure squid.conf to achieve this?

> From: Jamie Learmonth [mailto:jamiellists_at_gmail.com]

> Create your URL ACL
>
> acl directurls -i url_regex my.direct.domain
>
> # Don't cache direct urls
> cache deny directurls
>
> # Always go direct
> always_direct allow directurls

On 10.07.08 14:52, Saurabh Agarwal wrote:
> Thanks a Lot! This was very helpful

note, that:

1. those URLs won't bypass squid, they only will not be cached

2. url_regex is very ineffective, I'd advise simpler ACl types

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of. 
Received on Wed Jul 16 2008 - 15:55:22 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 16 2008 - 12:00:04 MDT