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
This commit is contained in:
Jan Kneschke 2005-10-31 15:33:09 +00:00
parent c736a344e7
commit 2b26b68133
2 changed files with 46 additions and 2 deletions

View File

@ -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 \

42
doc/expire.txt Normal file
View File

@ -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" )