Difference between #4 and #5 of
caching controllers with filters()

Revision #5 has been created by RusAlex on Mar 27, 2011, 9:42:21 PM with the memo:

formatting
« previous (#4) next (#6) »

Changes

Title unchanged

caching controllers with filters()

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

cache, page, invalidate, flush

Content changed

[...]
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.
2 0
8 followers
Viewed: 18 148 times
Version: 1.1
Category: How-tos
Written by: RusAlex
Last updated by: Maurizio Domba Cerin
Created on: Mar 27, 2011
Last updated: 13 years ago
Update Article

Revisions

View all history