You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a service-worker to enable caching and desktop PWA #138
On slow connections code-server takes ages to load the main JS bundle file, as it is multiple megabytes large. When reloading the page the bundle file has to get loaded again unless the browser locally caches it, which is not certain. It would drastically improve the experience if a service-worker would cache all of the necessary html, css, and JS bundles.
In combination with a web-manifest this would also enable code-server to be installed on client devices as PWA's. This is especially useful for desktop as you would not have to install a thin client. Using a PWA would also enable code-server to eventually implement features such as share-target to upload files onto the remote container.
This would require a very minimal amount of work for a very very useful feature, especially when you use Workbox.
Activity
kylecarbs commentedon Mar 8, 2019
I definitely agree. We'll do this!
lucacasonato commentedon Mar 8, 2019
If I find some time today I'll look into setting up the manifest file.
lucacasonato commentedon Mar 9, 2019
#154 should fix this
sondresorbye commentedon Apr 1, 2019
This would also make the top bar in chrome dissapear on android devices.
lucacasonato commentedon Apr 16, 2019
merged in #154