This is the class I have.
class ThingController extends AppController{
public $helpers = array('Cache');
public $cacheAction = array('config' => 36000);
function config(){
// code here
}
}
It seems to work fine caching view files, but not xml files.
This is the file I want to cache.
/views/thing/xml/config.ctp
It is being called like this: http://website.com/thing/config.xml
I have read the cookbook and googled for this but no result.
How do I cache an XML file that is generated by CakePHP?
:)
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment