Adding caching configuration.