Memoize the configuration.