As a follow up to a discussion with some people in #cakephp, here I am
posting a problem I'm having with caching.
Since my site was featured on cakephp.org I've been getting even more
traffic so caching would be greatly appreciated :)
In in core.php I have:
define('CACHE_CHECK', true);
In my home_controller.php I have:
var $helpers = array("Tagcloud", 'Cache' );
var $cacheAction = "+1 hour";.
// I have also tried
// var $cacheAction = "1 hour";.
// and even var $cacheAction = '1260'
I already did chmod -R 777 app/tmp so permissions shouldn't be an
issue.
However, after all this, nothing gets created under app/tmp/cache/
views
I'm using the instructions at http://manual.cakephp.org/chapter/view_cache
and I'm running the latest stable version of CakePHP.
Multiple people have recommended to upgrade to beta, unfortunately I
don't think I'll have the time to do that in the next few weeks due to
some incompatibilities I found when trying to do that. Plus, this
should work on 1.1, shouldn't it?
Here is my controller in case anyone wants to see it:
http://scratch.mit.edu/home_controller.txt
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---