CacheDurationDefiner has been modified to work with both Item and CacheEntry