From ceb75730fcf9d4342f0dea06bfc19cd1826ca615 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 10 Jun 2016 13:48:31 -0700 Subject: [PATCH] set cache-control for pkgreport to 300 seconds --- cgi/pkgreport.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index eb7a61a..6b92f90 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -436,6 +436,7 @@ my $result = pkg_htmlizebugs(bugs => \@bugs, (exists $param{dist})?(dist => $param{dist}):(), ); +print "Cache-control: public, max-age=300\n"; print "Content-Type: text/html; charset=utf-8\n\n"; print "\n"; -- 2.39.2