Timeline for Possible to have completely offline PWA?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 8 at 19:28 | comment | added | ZenoArrow | This answer is misleading. It is possible to have offline PWA. For example, can use service workers to host the content: developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/… | |
Feb 7, 2021 at 18:14 | comment | added | Laiv | Yes. It does. Sadly, the downloaded site, once opnened, it does under a different domain/context (localhost) what turns the site into a different application from the browser point of view. You could edit the shortcut to change the routes of the manifest and the entry point, but that's it. And it has to be done by the user, manually because only he knows where the site is. | |
Feb 7, 2021 at 18:07 | comment | added | frownyface | Thank you again for the response! I see what you are saying. I am letting the users downloading a zip file on my site. So, separately from the PWA, users will be able to have the site files locally. So I was wondering if there was a way the PWA could access said files. The goal I was hoping to achieve is for the user to interact with those files through a PWA-like shortcut and maybe even take advantage of the ways a PWA can change the UI a little of the browser (full-screen). Does that provide any clarification or was your answer/comment addressing that already? | |
Feb 6, 2021 at 8:20 | comment | added | Laiv | Theres's no "files download". It's just http response caching. You will never get the web app downloaded. Content is either cached (browser caché/store) or remote. Remove the word download from the equation because is missleading. I had the same doubts the first time because there's too much marketing and fancy words. It's easier to grasp when you follow the Code Lab, | |
Feb 6, 2021 at 2:32 | comment | added | frownyface | Thank you for the very informative answer! I think I understood the "installation" part and the caching done by the service worker. Your response helped expand on those ideas a lot for me (SWs, PWA desktop shortcut, and caching), so thank you! What I was trying to ask (but might have not effectively communicated) is letting the user download the html files/site assets, but still letting the user access it through that PWA-like shortcut. It seems that you touched on that in your comment to the question. Would you be able to expand on that? Thank you! | |
Feb 4, 2021 at 14:31 | history | edited | Laiv | CC BY-SA 4.0 |
deleted 1 character in body
|
Feb 4, 2021 at 13:38 | history | edited | Laiv | CC BY-SA 4.0 |
deleted 49 characters in body
|
Feb 4, 2021 at 13:28 | history | edited | Laiv | CC BY-SA 4.0 |
deleted 49 characters in body
|
Feb 4, 2021 at 13:16 | history | edited | Laiv | CC BY-SA 4.0 |
deleted 49 characters in body
|
Feb 4, 2021 at 13:07 | history | answered | Laiv | CC BY-SA 4.0 |