]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/JS.pm
Add public to Cache-Control in CSS.pm & JS.pm
[gruntmaster-page.git] / lib / Gruntmaster / Page / JS.pm
index fa00293e52e622861206d31edeb87414e7253287..26b1be026c7068f2c6ff263148ff89cf07394cd0 100644 (file)
@@ -15,7 +15,7 @@ sub generate{
        debug $logger => "";
        my $js;
        $js .= read_file $_ for <js/*.js>;
-       [200, ['Content-Type' => 'application/javascript', 'Cache-Control' => 'max-age=604800'], [$js] ]
+       [200, ['Content-Type' => 'application/javascript', 'Cache-Control' => 'public, max-age=604800'], [$js] ]
 }
 
 sub variants{ [[js => 1, 'application/javascript', undef, undef, undef, undef]] }
This page took 0.016657 seconds and 4 git commands to generate.