Discovered that the view caches only the last <cake:nocache> </
cake:nocache> wrapper in the layout.

Every <cake:nocache> </cake:nocache>  before the last one is not
cached.


On Oct 19, 4:05 pm, MissYeh <miss...@gmail.com> wrote:
> 1) First I cleaned all cached views.
>
> 2) I have a form on a page to upload a file with a minimum size. I
> upload a file too small to test the flashmessaging. The desired
> flashmessage is triggered.
>
> 3) But.. before the flashmessage has time to display on the current
> page I open my about page. The flashmessage shows there which is fine.
> But now the flashmessage is cached into the view. So everyone visiting
> this page will see the flashmessage.
>
> Strangely I could not find other issues about this via Google. Is or
> was there a known issue where flashmessages got cached even if they
> were wrapped between <cake:nocache> </cake:nocache> ?
>
> Regards,
>
> Kana
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to