Dear List,

 

When both are configured the docs say 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 cache the exact same content twice: 

 

- in mod_mem_cache for faster access of more frequently accessed objects AND

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

 

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

 

Sample config below.

 

Thanks,

 

Geoff Millikan

 

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

 

# Enable the RAM cache first because this should be a bit faster than the hard 
drive based cache.

CacheEnable  mem /

 

# Enable hard drive-based cache second.

CacheEnable disk /

 

# Limit RAM cache to 10MB and 100 items, everything else goes to the disk.

MCacheSize 2048

MCacheMaxObjectCount 100

MCacheRemovalAlgorithm GDSF

CacheDisable /images

CacheRoot /var/cache/mod_cache/

 

Reply via email to