Hi,
This is specifically about CakePHP's caching system.
It seems to work fine caching view files, but not for 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
This is the class I have:
class ThingController extends AppController{
public $helpers = array('Cache');
public $cacheAction = array('config' => 36000);
function config(){
// code here
}
}
I have tried, read the cookbook and googled for this but no result.
Anyone can tell me how do I cache an XML file that is generated by CakePHP?
:)