Access Kleki while offline
generalYou can now access Kleki even if you have no internet. Unplug your Ethernet, turn off your Wi-Fi, enable airplane mode... Kleki.com still loads and is fully functional!
This is achieved with the ServiceWorker web API which can be thought of as a customizable cache. When you visit Kleki for the first time, all of its assets (HTML file, JavaScript files, images, ...) are put into a cache, and when you visit again, your browser just needs to look into that cache instead of asking Kleki's server for the files.
Kleki is an especially nice fit for this feature because it's always been essentially an offline-first application.
-bitbof
- Previous: Supporter Page Launched