trying to memoize the config and template