xref: /lighttpd1.4/doc/outdated/expire.txt (revision 25f5085a)
1===============================================
2Controlling the Expiration of Content in Caches
3===============================================
4
5------------------
6Module: mod_expire
7------------------
8
9:Author: Jan Kneschke
10:Date: $Date: 2004/11/03 22:26:05 $
11:Revision: $Revision: 1.2 $
12
13:abstract:
14  mod_expire controls the setting of the Expires response header
15
16.. meta::
17  :keywords: lighttpd, expire
18
19.. contents:: Table of Contents
20
21Description
22===========
23
24mod_expire controls the Expires header in the Response Header of HTTP/1.0
25messages. It is useful to set it for static files which should be cached
26aggressivly like images, stylesheets or similar.
27
28Options
29=======
30
31expire.url
32  assign a expiration to all files below the specified path. The
33  specification of the time is made up of: ::
34
35    <access|modification> <number> <years|months|days|hours|minutes|seconds>
36
37  following the syntax used by mod_expire in Apache 1.3.x and later.
38
39  Example: ::
40
41    expire.url = ( "/images/" => "access 1 hour" )
42
43