I agree with you. You have to unlink the cache file after save a record in
you Model.

On Tue, Jun 16, 2009 at 4:17 AM, Claudiu Apetrei
<[email protected]>wrote:

>
> Hello,
>
> Just wrote my first cakephp website and now working on caching some
> pages.
>
> Read the IBM tutorial on caching and it says :
>
> "But you don't have to do it. CakePHP does it for you. CakePHP knows
> when data is inserted, updated, or deleted, and if this affects a
> cached view, the cache for that view is cleared. That saves an awful
> lot of work."
>
> Have been trying this on my project, also on a simple test project. I
> just can't get cake to delete the cache after a insert.
>
> Are there any tricks for getting this to work ?
>
> Regards,
> Claudiu
> >
>


-- 
Thanks
Joshua

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to