turn on caching in configure