3 ms·
But it's offline, what's the website? Or offline doesn't mean offline?
by nottorp 2y ago
But it's offline, what's the website? Or offline doesn't mean offline?
- godot 2y agoI think in their case, offline is as in you don't need to set up a pubsub server and the client doesn't have to talk to a server for the specific pubsub functionality, not as in "use this for offline web pages/html files locally" (it may or may not work for that, I have no idea, didn't look).
- l1am0 2y agoWorks for offline apps as well :) (you would need to download the tabsub JS ofc and not use it from my server)
- l1am0 2y agoIt means, that you don't need an internet connection for this to work :) (so it is no rabbitmq or so which runs on a server and the browser is just the client) You can try on the demopage when you 1. play the songs each (for them to buffer a little audio snippet) 2. open the page in a second tab 3. Disconnect from the internt Still works :D
- nottorp 2y agoI'm just asking random questions now and then to get an idea of how things work in the web world. Especially those that aren't mentioned in tutorials.
- l1am0 2y agoWhich is a good thing :) I am all in for asking questions. If someone can't answer them, it usually means they have not thought about it and are either ignorant or will learn something themselves :D (like me for your question, as I never tried TabSub with internet disconnected. Was delighted to see it works nevertheless)
- nottorp 2y agoBut but, you used "offline". I always thought that's the opposite of "online". Looks like it means something else in Newspeak :)
- crabmusket 2y agoWebsites can work without internet connection after the initial visit: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Tutorials/js13kGames/Offline_Service_workers https://developer.mozilla.org/en-US/docs/Web/Progressive_web...