Skip to content

Commit

Permalink
Adding js file cache back in.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmathai committed Oct 11, 2010
1 parent 8865859 commit 7073191
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions html/js/compress.php
Expand Up @@ -19,8 +19,7 @@
$cache .= JSMin::minify(file_get_contents($fullPath)) . "\n";
}
}
if(false)
file_put_contents(PATH_DOC . "/js/static/{$hash}.js", "/* Cache of {$_SERVER['REQUEST_URI']} */\n{$cache}");
file_put_contents(PATH_DOC . "/js/static/{$hash}.js", "/* Cache of {$_SERVER['REQUEST_URI']} */\n{$cache}");
echo $cache;
}
?>

0 comments on commit 7073191

Please sign in to comment.