Improve cache reset management