enable stats caching