cvs commit: site/src tablecg.c

Matthew Dillon dillon at
Mon Mar 1 12:02:58 PST 2004

:  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

    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.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Commits mailing list