Re: [squid-users] Two squid instances based on file types? Is it good?

From: H Matik <[email protected]>
Date: Mon, 21 Feb 2005 08:03:51 -0300

On Monday 21 February 2005 07:24, Marco Crucianelli wrote:
> On Fri, 2005-02-18 at 16:10 -0200, H Matik wrote:
> > On Friday 18 February 2005 08:34, Marco Crucianelli wrote:
> > > On Thu, 2005-02-17 at 12:52 -0600, Kevin wrote:
> > > > What mechanism are you using to set expire times?
> > >
>
> Do you mean using max_object_size=512K for the small_object squid?
>
yes

>
> I was thinking about using ACL regex_url to direct avi,mp3,iso etc from
> the small_object (front-end) squid to the big_object (back-end) squid
> together with the directive cache_peer_access...do you think I can do it
> this way?
>

this should work, you add other extensions as you need

acl bf urlpath_regex \.mpg
acl bf urlpath_regex \.avi
acl bf urlpath_regex \.wmv

never_direct allow bf
always_direct deny bf

>
> But, what about staleness? Can I set up the refresh time in squid...with
> which directive?!?!

you can use refresh_pattern

Hans

>
>
> Once again, may thanks!!!!

-- 
_______________________________________________________
Infomatik
(18)8112.7007
http://info.matik.com.br
Mensagens n�o assinadas com GPG n�o s�o minhas.
Messages without GPG signature are not from me.
_______________________________________________________

Received on Mon Feb 21 2005 - 04:04:13 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST