made cache path configurable