From 5055bcf8669f79a208c0fa05cbf55445eb096764 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 17 Mar 2012 20:44:36 +0100 Subject: [PATCH] Set expires=5m for the ranking. --- www/rating.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/rating.pl b/www/rating.pl index bf9f495..fd0648d 100755 --- a/www/rating.pl +++ b/www/rating.pl @@ -28,7 +28,7 @@ while (my $ref = $q->fetchrow_hashref) { } my $match_stddev = $params{-2} * sqrt(2.0); -print CGI->header(-type=>'text/html; charset=utf-8', -expires=>'now'); +print CGI->header(-type=>'text/html; charset=utf-8', -expires=>'+5m'); POSIX::setlocale(&POSIX::LC_ALL, 'nb_NO.UTF-8'); printf <<"EOF", $params{-3}, $match_stddev; -- 2.39.2