|
Revision 1349, 1.0 kB
(checked in by darix, 2 years ago)
|
|
- merged lighttpd-merge-1.4.x so we finally work in trunk/ ! yeah \o/
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | =============================================== |
|---|
| 2 | Controlling the Expiration of Content in Caches |
|---|
| 3 | =============================================== |
|---|
| 4 | |
|---|
| 5 | ------------------ |
|---|
| 6 | Module: 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 the Expire Response header |
|---|
| 15 | |
|---|
| 16 | .. meta:: |
|---|
| 17 | :keywords: lighttpd, expire |
|---|
| 18 | |
|---|
| 19 | .. contents:: Table of Contents |
|---|
| 20 | |
|---|
| 21 | Description |
|---|
| 22 | =========== |
|---|
| 23 | |
|---|
| 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. |
|---|
| 27 | |
|---|
| 28 | Options |
|---|
| 29 | ======= |
|---|
| 30 | |
|---|
| 31 | expire.url |
|---|
| 32 | assignes 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 | |
|---|