Cache internal storage state for fast worker recovery