Andy Gale, you can't cache elements and views in cache engine (1.2 or 1.3, because Cache::read() and Cache::Write is not even used here). It requires refactoring cache() and clearCache() functions (basics.php) to implement memcache.
Also, clearCache() calls form Model class deletes all cached elements and views which contains Model name (or associated models names) in a cache "key". Let userland code decide that!? On Jul 25, 9:44 pm, Andy Gale <[email protected]> wrote: > On Sun, Jul 25, 2010 at 5:15 PM, DragonI <[email protected]> wrote: > > Are there any plans for an option to enable element caching via > > memcache? > > You can already cache elements via requestAction. If memcache is set > as your caching engine it'll surely cache said elements in memcache. > > http://book.cakephp.org/view/434/requestAction > > -- > Andy Galehttp://andy-gale.comhttp://twitter.com/andygale 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 [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
