Daily Archives: June 23, 2010

Authentication cache for Apache

It’s been a while since I blogged about Apache.  But today I’ve committed a new module mod_authn_socache to cache authentication credentials.  This could provide a big performance boost for some users: for example those who authenticate their visitors from a database and have suffered the performance hit of an SQL query for every HTTP request.

The new module uses apache’s shared object cache infrastructure provided by mod_socache, and will work in HTTPD’s trunk and 2.3/2.4 versions only.  Users of version 2.2 (the current stable version) requiring comparable functionality can use Paul Querna’s old mod_authn_cache from sourceforge, as detailed in this thread.

Next step: document it!