On Mon, Jul 26, 2010 at 1:31 PM, majna <[email protected]> wrote: > 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!?
Of course it uses a file cache for that whatever you put in for the cache engine. Which is why we bypassed the requestAction stuff when we implemented our caching system. What are the reasons why the cache engine isn't used there? Seems a bit of a no-brainier to me. -- Andy Gale http://andy-gale.com http://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
