persist cache