From: Dylan Hardison Date: Sat, 16 May 2020 03:14:53 +0000 (-0400) Subject: search_plugin.cgi can be cached X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43098aa783eef9265811ec451fe285d7fd3f79cd;p=thirdparty%2Fbugzilla.git search_plugin.cgi can be cached --- diff --git a/search_plugin.cgi b/search_plugin.cgi index ba41cc5fe..1a3f01b23 100755 --- a/search_plugin.cgi +++ b/search_plugin.cgi @@ -17,6 +17,7 @@ use Bugzilla::Error; use Bugzilla::Constants; Bugzilla->login(); +$Bugzilla::App::CGI::C->res->headers->cache_control('public, max-age=86400, immutable'); my $cgi = Bugzilla->cgi; my $template = Bugzilla->template;