caching controllers with filters()

Comparing #4 with #5

Revision #5 was created by RusAlex RusAlex on Mar 27, 2011, 9:42:21 PM.

formatting

Content

[...]
ex: i want to invalidate just index page from my cache, i use next url: www.myyiisite.com/?flush .
That's all, index page is invalidated and new cache settings now in action.

Drowbacks:

1. I cant invalidate a controller cache. If you have 10 controllers in your app, and changed your filters() code, you don't want to flush whole cache. You want to invalidate cache just for this controller. And Yii
doesn't have it toocant.