]> iEval git - plack-app-gruntmaster.git/blobdiff - lib/Gruntmaster/Page/JS.pm
Add X-Forever
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / JS.pm
index dca5affe76e7ab247dbbfa0bdf40573d86d33b47..9e78192d0b12575b9107cf57f3207330da93c19b 100644 (file)
@@ -15,7 +15,7 @@ sub generate{
        debug $env => "";
        my $js;
        $js .= read_file $_ for <js/*.js>;
-       [200, ['Content-Type' => 'application/javascript', 'Cache-Control' => 'public, max-age=604800'], [$js] ]
+       [200, ['Content-Type' => 'application/javascript', 'Cache-Control' => 'public, max-age=604800', 'X-Forever' => 1], [$js] ]
 }
 
 sub variants{ [[js => 1, 'application/javascript', undef, undef, undef, undef]] }
This page took 0.020236 seconds and 4 git commands to generate.