expire.txt 1020 B

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