initial commit for adding a cache for different flows