Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-02-21 at 08:03 -0300, H Matik wrote:
> 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

As I wrote to Henrik, I should use never_direct to be sure that the
front end squid asks to the back end squid right?!

Suppose the backend squid has its own cache_peer parent and suppose I
want that, whenever the frontend squid asks the backend squid for a
multimedia files, if the backend squid doesn't have it, it asks to its
own parent, when it gets the file back it sends this back back to the
frontend squid....do you think this could be possible with such a
configuration?!?!

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

Do you know if I can match on the cache_dir using refresh_pattern!?!?

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

Thank you so much Hans! ;)

Marco

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux