[squid-users] cache_dir on /dev/shm?

From: Scott Baker <bakers_at_canbytel.com>
Date: Wed, 06 Feb 2013 13:48:43 -0800

I want to store all my cache dir on a ram disk. I have this in my config:

cache_dir ufs /dev/shm/squid 1024 16 256

Is there any reason NOT to do this? All the stuff in my cache is time
sensitive (expires after 15 minutes) so I'm not worried about losing
data, just worried about best practices.

I also have:

cache_mem 1024 MB

in my config. With ONLY this entry, everything results in a TCP_MISS.
I'm guessing the cache_mem isn't used the same way as a cache_dir?

-- 
Scott Baker - Canby Telcom
System Administrator - RHCE - 503.266.8253
Received on Wed Feb 06 2013 - 21:48:51 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 07 2013 - 12:00:03 MST