On Tuesday 04 August 2015 at 01:39:38, Jorgeley Junior wrote:

> create an acl:
> acl youtube dstdomain .youtube.com
> use the directive: cache deny youtube

That will prevent caching for all content from a specific domain, no matter 
what size the objects.

It's a bit tedious to have to set this up for all the domains you think you 
might get overly-large content from, and once you have, it's prevents caching 
of anything from those domains, including the acceptably small stuff.

> 2015-08-03 19:29 GMT-03:00 Antony Stone wrote:
> > On Tuesday 04 August 2015 at 00:13:32, markme wrote:
> > > Is there a simple way to deny caching of video and audio? My manager
> > > doesn't want these to be cached due to the large amount of space they
> > > might take up.
> > 
> > Just set the maximum cache object size - then it doesn't matter whether
> > it's audio, video, ISO images, windows updates, or whatever - things
> > taking up large amounts of space won't be cached.
> >
> > Antony.

-- 
Wanted: telepath.   You know where to apply.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to