Say I have a widget PostWidget that displays a certain post and in that widgets view I have a piece of content that should be rendered dynamically (should not be cached)
It’s just a function that returns any dynamic content, like for example I am using it to return the HTML for a delete button if the user is allowed to delete this post.
The result of this function should not be cached since different users will have different permissions for posts - only some will be allowed to delete a certain post.
I though that could be something in the method that is the reason for this… but just remembered that there where an issue with this in Yii 1.1.4 - http://code.google.c…/detail?id=1565