]> git.sesse.net Git - wloh/commitdiff
Set expires to now instead of an arbitary date.
authorSteinar H. Gunderson <Steinar H. Gunderson sesse@debian.org>
Sat, 17 Mar 2012 18:02:03 +0000 (19:02 +0100)
committerSteinar H. Gunderson <Steinar H. Gunderson sesse@debian.org>
Sat, 17 Mar 2012 18:02:03 +0000 (19:02 +0100)
www/index.pl

index 7cedd6fe2e81f714f1a7762d51ef501131c1127b..9c3d7e4ea3aadf83e054ea06fcd342850d59b51c 100755 (executable)
@@ -144,7 +144,7 @@ my $subdivision = $cgi->param('avdeling') // -1;
 
 POSIX::setlocale(&POSIX::LC_ALL, 'nb_NO.UTF-8');
 
-print $cgi->header(-type=>'text/html; charset=utf-8', -expires=>'Thu, 01 Dec 1994 16:00:00 GMT');
+print $cgi->header(-type=>'text/html; charset=utf-8', -expires=>'now');
 printf <<"EOF", $match_stddev;
 <html>
   <head>