title: Load image from Firestore and save it to cache in Swift
body: <p>I'm working on an app that has to load some images and data from server on every launch (to make sure it's using up-to-date info). I'm using Firestore as a DB and currently storing images in it as an URL to Firebase storage.</p>
  
  <p>Is it somehow possible to store an actual image in Firestore? And how can I cache loaded image? Either from</p>
  
  <pre><code>UIImage(contentsOf: URL)
  </code></pre>
  
  <p>or from Firestore?</p>