X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FJS.pm;h=26b1be026c7068f2c6ff263148ff89cf07394cd0;hb=eac599be8b36a2a10e34942b3cdcaeac269cf4ef;hp=fa00293e52e622861206d31edeb87414e7253287;hpb=0a9ccdd836aa7dd0104baa19509f65d7c7e860c4;p=gruntmaster-page.git diff --git a/lib/Gruntmaster/Page/JS.pm b/lib/Gruntmaster/Page/JS.pm index fa00293..26b1be0 100644 --- a/lib/Gruntmaster/Page/JS.pm +++ b/lib/Gruntmaster/Page/JS.pm @@ -15,7 +15,7 @@ sub generate{ debug $logger => ""; my $js; $js .= read_file $_ for ; - [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]] }