]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
search_plugin.cgi can be cached
authorDylan Hardison <dylan@hardison.net>
Sat, 16 May 2020 03:14:53 +0000 (23:14 -0400)
committerDylan Hardison <dylan@hardison.net>
Sat, 16 May 2020 03:15:53 +0000 (23:15 -0400)
search_plugin.cgi

index ba41cc5fe1602ac0718a067f5ae254c50b15c0d2..1a3f01b233c4e515e020bfd57953f6b2191d8be3 100755 (executable)
@@ -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;