RE: Proxy Disk Size

From: Walter Klomp <[email protected]>
Date: Fri, 7 Feb 1997 11:18:44 +0800

Try to put this in your squid.conf.... It is a bit blunt, but it caches at least 50%.... Works excellent for me... :-)

# Absolute this percentage of
# Regular Expression TTL in the object's age
# matching URLs minutes %age Max (minutes)
# --------- --------------------- ----------- ------ ------------
refresh_pattern/i \.mov$ 10080 90% 43200
refresh_pattern/i \.qtm$ 10080 90% 43200
refresh_pattern/i \.mid$ 10080 90% 43200
refresh_pattern/i \.wav$ 10080 90% 43200
refresh_pattern/i \.viv$ 4320 90% 43200
refresh_pattern/i \.mpg$ 4320 90% 43200
refresh_pattern/i \.gif$ 10080 90% 43200
refresh_pattern/i \.jpg$ 10080 90% 43200
refresh_pattern/i \.class$ 10080 90% 43200
refresh_pattern ^http:// 240 40% 20160
refresh_pattern ^ftp:// 240 50% 20160
refresh_pattern ^gopher:// 240 40% 20160
refresh_pattern /cgi-bin/ 0 0% 30
refresh_pattern . 240 40% 20160

Good Luck, Regards
Walter Klomp
Swiftech Internet
http://www.swiftech.com.sg

-----Original Message-----
From: Support [SMTP:support@ans.com.au]
Sent: Friday, February 07, 1997 7:10 AM
To: squid-users@nlanr.net
Subject: Proxy Disk Size

I remember someone has asked this question before. But I must have missed
the answer. Do you mind to tell me again?

We are running Squid 1.0.20 for about 3 months now. 10s of GBs passed the
Squid already but there is only about 1.2GB remains in the cache disk.
Does any one know why the Squid caches so little? We used Harvard cache
before with similar result. Here is the configuration.

Pentium 166
64MB RAM
2GB HD for the OS and working space
Another 2GB HD for the proxy cache
OS: FreeBSD 2.1.5

Your help is appreciated.

Regards

Clement
---------------------------------------------------------------------------
email address: support@ans.com.au
Web page: http://www.ans.com.au
post address: 14 Fisher Road, Dee Why, NSW 2099, Australia
fax number: +61 2 9972 2633
Received on Thu Feb 06 1997 - 19:36:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:23 MST