DragonFly commits List (threaded) for 2004-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: site/src tablecg.c
: Log:
: Added Expires: (one week in future) to httpd headers so that
: pages can get cached temporarily by search engines that
: would otherwise ignore .cgi files.
:
: Revision Changes Path
: 1.17 +11 -0 site/src/tablecg.c
:
:
:http://www.dragonflybsd.org/cvsweb/site/src/tablecg.c.diff?r1=1.16&r2=1.17&f=h
A better solution would be to add a Last-Modified: header based
on a stat() of the CGI binary or the underlying file (whichever is more recent).
Then make the cgi understand If-modified-since: requests.
This would be a fun 2-hour project for someone.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]