Activities

October 2010
M T W T F S S
« Sep   Nov »
 123
45678910
11121314151617
18192021222324
25262728293031

Running SQUID without caching

This scenario would help you, if  you have site which periodically updating  like changing css, html , java scripts etc . Especially very useful  while your are using internet for software development purpose.

Since the steps are different as the few  older version squid version doesn’t support it

# squid -v

[root@rc-009 ~]# squid -v
Squid Cache: Version 2.6.STABLE21

Squid 2.7 –> 3.1 :   You can also remove all ‘cache_dir’ options from your squid.conf to avoid having a cache directory.

Squid-2.4, 2.5, 2.6, 3.0 –> You need to use the “null” storage module

cache_dir null /tmp

Prevent users from downloading large files?
reply_body_max_size 10 MB

f you don need some site need note to be cached even you are enabled cache mechanism Create a scl rule and set the domain name to be treated as exceptional.
Add the
acl dev_sites dstdomain .mycompany.com .staging.mysites.com
always_direct allow hotmail

Note : I’m using transparent squid proxy server.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>