Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
ajax.apache.org (RHEL)
Description
In order to make the wiki able to withstand much more load, a apache 2.1+ needs to be set up to serve it (or proxy it?) with proper settings for mod_cache. Something like this:
+ # Enable Caching of all moin pages. This does mean that pages which are edited
+ # will not appear modified unless someone does a "shift-refresh" or similar in
+ # his/her browser
+ #
+ <IfModule mod_cache.c>
+ <IfModule mod_disk_cache.c>
+ CacheRoot /www/wiki.apache.org/mod_disk_cache
+ CacheSize 1000000 # 1GB of maximum cache
+ CacheEnable disk /
+ CacheDirLevels 5
+ CacheDirLength 3
+ </IfModule>
+ <IfModule mod_mem_cache.c>
+ CacheEnable mem /
+ MCacheSize 4096
+ MCacheMaxObjectCount 100
+ MCacheMinObjectSize 1
+ MCacheMaxObjectSize 2048
+ </IfModule>
+ CacheIgnoreNoLastMod On # moin doesn't provide last-modified, but does provide cache-control
+ CacheDefaultExpire 600 # be conservative and make it 10 minutes
+ </IfModule>
should work.
+ # Enable Caching of all moin pages. This does mean that pages which are edited
+ # will not appear modified unless someone does a "shift-refresh" or similar in
+ # his/her browser
+ #
+ <IfModule mod_cache.c>
+ <IfModule mod_disk_cache.c>
+ CacheRoot /www/wiki.apache.org/mod_disk_cache
+ CacheSize 1000000 # 1GB of maximum cache
+ CacheEnable disk /
+ CacheDirLevels 5
+ CacheDirLength 3
+ </IfModule>
+ <IfModule mod_mem_cache.c>
+ CacheEnable mem /
+ MCacheSize 4096
+ MCacheMaxObjectCount 100
+ MCacheMinObjectSize 1
+ MCacheMaxObjectSize 2048
+ </IfModule>
+ CacheIgnoreNoLastMod On # moin doesn't provide last-modified, but does provide cache-control
+ CacheDefaultExpire 600 # be conservative and make it 10 minutes
+ </IfModule>
should work.