Just ttl isn't enough in most cases. In Yii we have cache dependencies that are heavily used by community: http://www.yiiframework.com/doc/guide/1.1/en/caching.data#cache-dependency