-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Offline PWA Support #1704
base: main
Are you sure you want to change the base?
Conversation
12a1e1d
to
fd5100a
Compare
I think you ran an old version of black |
e3b0d46
to
beb4642
Compare
Currently I think there is a mismatch with the artifacts stores in the install worker, and artifacts being searched and stored in the fetch worker. |
9c0dbcd
to
0ed92bd
Compare
Deployment strategy
|
a4c9294
to
eb1234d
Compare
Further development has moved to https://github.com/ItayZiv/sphinxext-pwa. This PR will be updated to point at the extension. |
c5afb6b
to
0a8da49
Compare
809db70
to
38f14f8
Compare
What is PWA?
Progressive Web Applications (PWAs) are the fancy technology sponsored by Mozilla and Google several years ago that encouraged web based native style applications. This allows websites to be turned into fully offline capable applications with notification support.
Why?
Franky, it's super cool and enables a couple of benefits for us:
Important Usage Information
As of currently, consider any development on this early alpha and extremely unstable. Expect that this application will drain massive amounts of your device's battery life. Expect this application to download resources infinitely and destroying your data cap. This is confusing stuff.
TODO
This is a biggy, the offline feature doesn't fully work because its now required to have a fetch caching strategy in-placeThis currently is working but needs to replacedonelocalStorage
withindexDB
sql style database. Safari only supports >50MB via indexedDB. This is going to drastically extend the database logic.We also have a couple offloaded scripts that we could store locally, I think it's mathjax and jquery.