danf: curl-www/auto log.cgi,1.33,1.34

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv13216

Modified Files:
	log.cgi 
Log Message:
Allow the generated log files to be cached a full day.


Index: log.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/log.cgi,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- log.cgi	7 May 2007 17:47:26 -0000	1.33
+++ log.cgi	18 Jul 2007 00:28:12 -0000	1.34
@@ -27,8 +27,8 @@
 
 print "Content-Type: text/html\n";
 
-# Allow this page to be cached for a couple of hours
-print "Expires: " . time2str(time + 7200) . "\n\n";
+# Allow this page to be cached for a day
+print "Expires: " . time2str(time + 3600*24) . "\n\n";
 
 header("Autobuilds - single log");
 where("Autobuilds", "/auto", "Log From $year-$month-$day");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.