Hello people.
I need to set some HTTP headers "Expires", "Cache-Control",
"Last-Modified", for resources as CSS files, Images files, js files,
etc (Webroot content).
I've read that there's some functionality, through
Configure::write('Asset.timestamp', true); // In core.php
and the assetTimestamp method of the Helper class.
Now, the question is: How is it used?
I read the HtmlHelper code and in the css method, line 361 there's this:
$url = $this->assetTimestamp($this->webroot($path));
I think i'm missing something. Could you help me?
Thanks a lot!
--
Santiago Basulto.-
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php