View previous topic :: View next topic |
Author |
Message |
mspiegle Tux's lil' helper

Joined: 07 Apr 2004 Posts: 127
|
Posted: Sat Nov 22, 2008 6:27 am Post subject: [SOLVED] Has anyone gotten mod_mem_cache to work on Apache? |
|
|
I'm trying to play with Apache's new caching stuff (using 2.2.10), but the mem_cache part of it doesn't seem to work. I'm using Apache as a reverse proxy, and I want it to cache the responses from the backend server. If I use 'CacheEnable disk /', it works (apache doesn't continue to make requests against backend). If I use 'CacheEnable mem /', it doesn't appear to do anything. Here's an example of some of the directives I'm trying:
# For mem_cache (Doesn't work?)
CacheEnable mem /
#MCacheSize 131072
#MCacheMaxObjectCount 1000
#MCacheMinObjectSize 1
#MCacheMaxObjectSize 2048
# For disk_cache (Works fine?)
CacheEnable disk /
CacheRoot /dev/shm
#CacheDefaultExpire 86400
#CacheIgnoreCacheControl On
#CacheIgnoreNoLastMod On
#CacheMaxExpire 604800
#CacheStoreNoStore On
Has anyone tried using mem_cache successfully?
Thanks!
Last edited by mspiegle on Wed Nov 26, 2008 7:04 pm; edited 1 time in total |
|
Back to top |
|
 |
mspiegle Tux's lil' helper

Joined: 07 Apr 2004 Posts: 127
|
Posted: Wed Nov 26, 2008 7:04 pm Post subject: |
|
|
Just in case anyone is curious, all of the information I could find points to mod_mem_cache being broken on 2.2.x. I'm using mod_disk_cache to tmpfs as a workaround.
Mike |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|