Full page cache with APC possible? (CakePHP) -


i have website cached using full page caching. every page html file created.

as using cakephp, can define apc caching used instead of file caching. however, if done that, html files still being created (apc installed correctly).

so question: there logic in using apc full page caching? give benefits? possible put cached html file ram somehow , read there when needed?

p.s. not talking apc opcode caching functionality. data caching.

yes, can cache whole html view file in cache apc cache engine in cakephp. cake's cachehelper job you. suppose have postscontroller , want cache view files related controller. in case first of have define following code in controller.

   class postscontroller extends appcontroller {        public $helpers = array('cache');    } 

and in bootstrap.php file have add cachedispatcher.

   configure::write('dispatcher.filters', array(         'cachedispatcher'        )    ); 

and again in postscontroller have tell cache files.

    public $cacheaction = array(         'view' => 36000,         'index'  => 48000     ); 

this cache view action 10 hours, , index action 13 hours.

i think on can serve whole html cached view file visitors without hitting php or cake in server. thanks.


Comments