Tuesday, November 24, 2009

Re: Session, Cache and Model

Hi! In the controller you especify if you want to use cache mode(cache time, actions cached, ...); the Model gets the data to the controller and the controller process it according to the cache settings you specify in the controller class. More info: http://book.cakephp.org/view/346/Caching-in-the-Controller

I hope it can help you!

2009/11/24 RhythmicDevil <rhythmicdevil@gmail.com>
I am confused as to why the Session object is only available in the
Controller. Shouldn't it be the Model's responsibility to cache the
data?

--

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en.



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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: