Okay, you're getting your methods of caching confused.  By default,
Cake caches table descriptions loaded from the database, either for a
very short time (15 seconds in debug mode), or a long time (several
years in production mode, recently increased from 24 hours).

$persistModel, however, causes the in-memory state of the model object
to be serialized and written to a file, which is loaded on subsequent
requests.  This allows the model object to "hit the ground running," so
to speak, rather than having Cake go through it's object construction
process on every request.

$persistModel does not store any record- or query-specific data, and it
is not related to query caching.  Unfortunately, there is little to no
documentation on the usage of $persistModel, other than the release
notes.  It was added a couple months ago, so you can check the releases
around that time.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to