Bug 1005079 - Move index check from CacheFile to CacheEntry to speed up, r=michal
Bug 1005475 - Remove lock acquire from CacheEntry::IsFileDoomed() and bellow, r=michal