Dear List,

 

When two cache sources are configured the documentation says Apache tries to 
pull the object from the first cache source and if it's
not there, it tries the second.

 

Based on this, is it efficient to use 2 caches for the same content: 

 

- mod_mem_cache for frequently used and fast access 

- and mod_disk_cache for slightly slower access (but nearly unlimited storage 
space)?

 

Seems this would be good but maybe the overhead of polling both caches results 
in everything being slower?

Anyone with experience here?  Sample config below.

 

Thanks,

 

Geoff Millikan, http://www.t1shopper.com/

 

---== Sample Config Snippet ==---

CacheRoot /var/cache/mod_cache/

CacheEnable  mem /

CacheEnable disk /

#Limit RAM cache to 10MB and 100 items.  Put everything else on the disk.

MCacheSize 2048

MCacheMaxObjectCount 100

MCacheRemovalAlgorithm GDSF

CacheDisable /images

 

 

 

Reply via email to