PWA with large asset content


#1

How would you provide PWA version if the asset folder contained a large number of files (mp3, mp4 and jpeg) - currently it is 36.5mb and these files need to be available for the app to run offline.


#2

Why is this different from a small asset folder? The interesting question seems to be if you don’t have it in your folder and have to download it. If you’re locked in to a big folder, you’re locked in.


#3

I am not sure how a PWA works - does it download all the files when the site is loaded or does it only download the files which are called by the app?


#4

Depends what you tell it to do. You could lazy load your pages. And if your homepage is 30 meg, you might want to look at a redesign.