Not setting index for cache file