Skip to content

Commit

Permalink
Adding commented Asset.timestamp block to core.php
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 21, 2009
1 parent 4a8808e commit 9dcac18
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/config/core.php
Expand Up @@ -149,6 +149,15 @@
* A random string used in security hashing methods.
*/
Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');
/**
* Apply timestamps with the last modified time to static assets (js, css, images).
* Will append a querysting parameter containing the time the file was modified. This is
* useful for invalidating browser caches.
*
* Set to `true` to apply timestamps, when debug = 0, or set to 'force' to always enable
* timestamping.
*/
//Configure::write('Asset.timestamp', true);
/**
* Compress CSS output by removing comments, whitespace, repeating tags, etc.
* This requires a/var/cache directory to be writable by the web server for caching.
Expand Down

0 comments on commit 9dcac18

Please sign in to comment.