fix caching and persiting data when there is no etag in the response