Add cache to configuration