cvs commit: site/src tablecg.c

Matthew Dillon dillon at apollo.backplane.com
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
:
:
: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 at xxxxxxxxxxxxx>





More information about the Commits mailing list