I think this cake behavior must be optional. I do not wont all models (and associated models) cache to be deleted upon save(). For now, I must hack cake or use model->query() for some updates to avoid clearCache calls.
On Dec 13, 7:17 pm, Mathew <[email protected]> wrote: > If I have view caching enabled and I have the following files. > > news.php > news_find_something.php > news_find_something_page_2.php > element_news_something.php > documents_find_news_page_4.php > > If I call clearCache('news') the news.php file is deleted but the > other files remain. > > If I call it again a second time then all the files with the word news > are deleted. > > The clearCache function should not produce different results when > called with the same parameters. > > The other problems is that the clearCache will delete any cached file > with the word "news" in it, but only after being called a second time. > For example; documents_find_news_page_4.php was also deleted. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
