Cache does not delete on UPDATE
Hi,
I'm using CakePHP 1.3.6.
I'm caching queries that retrieve single Posts in my controller. The
cache files are created nicely and I use the default Cache::config().
Now I expect my cache component to delete the cache file as soon as I
edit and save the post. But that doesn't happen.
I have tried all debug modes (0,1,2)
I also tried to use the syntax where the id of the Post is included in
the data-array or when it is delivered by saying:
$this->Post->id = $id;
prior to the save action.
The cache files that are created have permission code 666. (might that
be the problem?)
Does anyone have an idea what's going wrong?
Thanks a lot!
Bart
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home