CGIV-3329 change cache config to be configurable