I recently implemented a code snippet that allows users to download files to cache for offline viewing. You can check it out here:
While the code works well, I've noticed that for larger files, the loading process can be a bit slow. I am looking for a way to display a progress indicator while the zip file is being loaded.
I believe the fetch part of the code is where I should focus my efforts, but I am unsure of how to implement the progress indicator. More information can be found here: