Not sure if I am simply over looking something obvious.

I have a set of cached query data that holds info from various Models. 

So the Blogs "Post" has the cached User, Avatar, Blog and Post Model data. 

Now how is the best way to delete the cached data across these records? If I
edit any of the data(User, Avatar, Blog or Post)  that held in the cached
data I need to delete the cached record inorder to have it reflect the
changes.

 

Is there a simple way / behavior to assist with this? If not you have to
manually request to delete the cache records in each model after save /
edits? 

Or is better to cache each model as a separate object and not  cache across
models?

 

Thanks,

 

K

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to