Adding commented Asset.timestamp block to core.php

This commit is contained in:
mark_story 2009-11-21 13:26:33 -05:00
parent 4a8808eb21
commit 9dcac18b87

View file

@ -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.