How to cache CKAsset locally to prevent downloading again?

Hi,

I am using Cloudkit to download pictures for products in my app.

The pictures as stored as Asset in the record type.

Is there a way to download a picture once, stored it locally in some kind of temp folder (or cache) and then next time just fetch the UUID of the picture and validate if you already have it in cache and if no, download it again?

Max