Skip Navigation

Sign up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Apache 2.2 mod_cache

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.

http://httpd.apache.org/docs/2.2/caching.html

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.archived.website/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>

Up

This document was last modified by Chris Croome on 2006-06-21 06:56:34
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2006 MKDoc Ltd.