[prev in list] [next in list] [prev in thread] [next in thread] 

List:       thttpd
Subject:    Re: [THTTPD] Adding various cache headers to thttpd
From:       Jef Poskanzer <jef () acme ! com>
Date:       2001-12-25 21:06:11
[Download RAW message or body]

Just to let you folks know how this turned out, I added one option
to both thttpd and mini_httpd: -M maxage, or in the config file maxage=n.
If it's present then the server adds headers to all responses:
  Cache-Control: max-age=nnn
  Expires: now+nnn
This is pretty rudimentary but should suffice for now.
---
Jef

         Jef Poskanzer  jef@acme.com  http://www.acme.com/jef/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic