Add Cache API support of records persistency