Discovery cache path should be configurable