summaryrefslogtreecommitdiff
path: root/doc/outdated/expire.txt
blob: ca59c42a5129c3a90fd9196cb4c86d726876de0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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" )