As of Apache HTTP server version 2.2 mod_cache and mod_file_cache are no longer marked experimental and are considered suitable for production use.
Apache 2.2 mod_cache
Configuration
First you need to have Apache 2.2 set to act as a proxy for the APache 1.3 running mod_perl and MKDoc, see: http://www.mkdoc.org/docs/howto/apache/
Using mod_cache with MKDoc is fairly simple, this example configuration should do the trick, however it doesn't seem to actually cache anything…
There is no point in caching the users domain, this is an example for the public domain with an Apache 1.3 with mod_perl running on port 8080:
<VirtualHost *:80> ServerName www.example.org ProxyRequests Off ProxyPass / http://www.www.example.org:8080/ ProxyPassReverse / http://www.example.org:8080/ CacheEnable mem / CacheIgnoreNoLastMod On </VirtualHost>
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2006 MKDoc Ltd.