Make path for cache file configurable