Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding commented Asset.timestamp block to core.php

  • Loading branch information...
commit 9dcac18b87739e3e46100ef7b29e4651093091e4 1 parent 4a8808e
@markstory markstory authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 app/config/core.php
View
9 app/config/core.php
@@ -150,6 +150,15 @@
*/
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.
* and /vendors/csspp/csspp.php
Please sign in to comment.
Something went wrong with that request. Please try again.