> I'm implementing a per-query cache behavior, so it would be nice to
> have it as a Behavior...
>
> I'm now trying doing a beforeFind/afterFind logic, I will post
> results,

I suggest a you override find in app model then package up as a
vendor. Take a look at how Miles' sql cache
http://www.milesj.me/blog/read/34/Cacheing-Each-Query-Individually and
AD7Six's cache vendor
http://www.assembla.com/code/mi/subversion/nodes/branches/mi_plugin/vendors/mi_cache.php
for inspiration.

Cheers,

Jon


-- 
jon bennett - www.jben.net - blog.jben.net

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to