Simple request:
$dependency = new CDbCacheDependency('SELECT MAX(last_modified) FROM bloc');
$models = Bloc::model()->cache(1000, $dependency)->findAll();
In log, it requests every time, and saves to cache every time. My cache works with set and get methods.