finish api, cache init flow