core.php (inside /app/config/) has lot of features that help us improve our web application.
Configure::write(Asset.timestamp, force);
Setting the Asset.timestamp to force will add a time value after every css,js and image tag in your HTML. The benefit of this is that the browser will treat your css,js or image file as new.
EX-
link href=/css/common.css?1327389711
so any changes made in any of them are quickly reflected.
So your css tag will look like this link href=/css/common.css?1327389711
1 Comment(s)