Improve default values and documentation of cache configuration.