Enable caching for index