I have a PWA running on Firebase. My image files are hosted on the Firebase Storage. I\'ve noticed my browser doesn\'t save cache for files loaded from the storage system. T
Putting the pieces together for any future references here
First,
// Create file metadata to update var newMetadata = { cacheControl: 'public,max-age=4000', }
Then,
storageRef.put(file, newMetadata)