diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-10-31 15:33:09 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-10-31 15:33:09 +0000 |
commit | 2b26b68133093217a8580568bfbe187dae83001f (patch) | |
tree | ff9a13c58e7969c4e977336ca75274267e6c34a6 | |
parent | c736a344e7e3f7f40f9c2fe64226883607cbda24 (diff) | |
download | lighttpd-git-2b26b68133093217a8580568bfbe187dae83001f.tar.gz |
added docs for mod_expire
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@807 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | doc/Makefile.am | 6 | ||||
-rw-r--r-- | doc/expire.txt | 42 |
2 files changed, 46 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 4a0c4144..043e570b 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -32,7 +32,8 @@ status.txt \ scgi.txt \ cml.txt \ trigger_b4_dl.txt \ -webdav.txt +webdav.txt \ +expire.txt HTMLDOCS=accesslog.html \ authentication.html \ @@ -65,7 +66,8 @@ HTMLDOCS=accesslog.html \ scgi.html \ cml.html \ trigger_b4_dl.html \ - webdav.html + webdav.html \ + expire.html EXTRA_DIST=lighttpd.conf lighttpd.user \ rc.lighttpd rc.lighttpd.redhat sysconfig.lighttpd \ diff --git a/doc/expire.txt b/doc/expire.txt new file mode 100644 index 00000000..2aee9381 --- /dev/null +++ b/doc/expire.txt @@ -0,0 +1,42 @@ +=============================================== +Controlling the Expiration of Content in Caches +=============================================== + +------------------ +Module: mod_expire +------------------ + +:Author: Jan Kneschke +:Date: $Date: 2004/11/03 22:26:05 $ +:Revision: $Revision: 1.2 $ + +:abstract: + mod_expire controls the setting of the the Expire Response header + +.. meta:: + :keywords: lighttpd, expire + +.. contents:: Table of Contents + +Description +=========== + +mod_expire controls the Expire header in the Response Header of HTTP/1.0 +messages. It is usefull to set it for static files which should be cached +aggressivly like images, stylesheets or similar. + +Options +======= + +expire.url + assignes a expiration to all files below the specified path. The + specification of the time is made up of: :: + + <access|modification> <number> <years|months|days|hours|minutes|seconds> + + following the syntax used by mod_expire in Apache 1.3.x and later. + + Example: :: + + expire.url = ( "/images/" => "access 1 hour" ) + |