Updated workflow for caching.