Squid - squid nocache

This is Interesting: Free IT Magazines  
Home > Archive > Squid > December 2004 > squid nocache





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author squid nocache
Lloyd Palfrey

2004-12-16, 6:29 pm

I'm trying to make squid cache nothing by default. Then specify the
extensions of files I want to cache.

Has anyone done this?


Thanks


Muthukumar_K

2004-12-24, 12:37 pm

[QUOTE]Originally posted by Lloyd Palfrey
[B]I'm trying to make squid cache nothing by default. Then specify the
extensions of files I want to cache.

Has anyone done this?


IF you don't want to cache contents then use acl settings and no_cache directive setting.

Example :
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

To cache extensions based then use urlpath_regex ACL settings and http_access rule.

acl ext urlpath_regex \.gif$ \.jpeg$
http_access allow ext

To know all about mime contents and file types then use mime.conf.default file.


HTH.

regards
Muthukumar

kmuthu_gct@yahoo.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com