Adding optional 'cache' configuration for specifying cache location, and updating default cache location