Put config in cache.