[core] fdevent_libev: workaround compiler warning
[lighttpd.git] / doc / outdated / expire.txt
blobca59c42a5129c3a90fd9196cb4c86d726876de0c
1 ===============================================
2 Controlling the Expiration of Content in Caches
3 ===============================================
5 ------------------
6 Module: mod_expire
7 ------------------
9 :Author: Jan Kneschke
10 :Date: $Date: 2004/11/03 22:26:05 $
11 :Revision: $Revision: 1.2 $
13 :abstract:
14   mod_expire controls the setting of the the Expire Response header
16 .. meta::
17   :keywords: lighttpd, expire
19 .. contents:: Table of Contents
21 Description
22 ===========
24 mod_expire controls the Expire header in the Response Header of HTTP/1.0
25 messages. It is usefull to set it for static files which should be cached
26 aggressivly like images, stylesheets or similar.
28 Options
29 =======
31 expire.url
32   assignes a expiration to all files below the specified path. The
33   specification of the time is made up of: ::
35     <access|modification> <number> <years|months|days|hours|minutes|seconds>
37   following the syntax used by mod_expire in Apache 1.3.x and later.
39   Example: ::
41     expire.url = ( "/images/" => "access 1 hour" )