From: Don Armstrong Date: Fri, 10 Jun 2016 20:48:31 +0000 (-0700) Subject: set cache-control for pkgreport to 300 seconds X-Git-Tag: release/2.6.0~198 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=ceb75730fcf9d4342f0dea06bfc19cd1826ca615 set cache-control for pkgreport to 300 seconds --- 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";