5 ms·
Can someone explain to me how I'm supposed to develop an Enterprise web app, that requires a regular "liveliness" check-in and to continue to receive timely not
by voidwtf 4y ago
Can someone explain to me how I'm supposed to develop an Enterprise web app, that requires a regular "liveliness" check-in and to continue to receive timely notifications without internet access (internal only)?
Between all the creative ways they're finding to decide they should throttle a tab or put it to sleep, and the ways they keep screwing with timers/intervals, I feel like I'm being forced back to pushing for a fat client. Is there web technology I'm missing that will allow me to achieve this without having to use internet access and pushing notifications through a third party?
- zamnos 4y agoWeb Push? https://web.dev/notifications/ https://web.dev/notifications/
- kevingadd 4y agoI have never once consented to a "let me send you notifications" request from a website, so this seems like a bad solution. They're widely abused by random trashy websites so it seems like it would be hard to get end users to consent so your app can use them to avoid timer throttling.
- rejectfinite 4y agoOP says without internet access (internal only)? so this would be an internal work site. Not spam. Valid to use and approve notifications.
- kevincox 4y ago> without internet access
- 1317 4y agogenuine question, why not write a desktop app instead?
- kevingadd 4y agoThere's a way to cheat and keep persistent timers ticking (albeit at a reduced rate) for longer, but if I describe how it works online they'll fix it :) The timer throttling algorithm(s) are documented. Make a desktop/mobile app, unfortunately. Web platform people don't want your app.
- jjraden 4y agochrome://settings/performance -- you can add sites that should remain active I don't know how to mass administer this across an enterprise, but presumably it would leverage existing tools.
- altairprime 4y agoIt sounds like you need an Electron app. Seriously. I’m not a fan of it, but it’s the web backend with knobs for you to prevent power-saving modes from interfering with your website.