3 ms·
I was thinking of doing this, with the specific added feature of ensuring the page is displayed, and periodically refreshed. In case of server returning non-20
by gregmac 10y ago
I was thinking of doing this, with the specific added feature of ensuring the page is displayed, and periodically refreshed.
In case of server returning non-200 response, it should wait a few seconds and refresh. In case of network disconnected (especially when using wifi), same thing - refresh the page.
The periodic refresh is necessary for pages that don't refresh, but even for wallboard-designed content that stays updated, scripts break and things go wrong. The browser itself refreshing is a fail-safe. You should never have to touch these things once they're installed, and that includes doing a hard reboot.
Another nice-to-have feature: turning off the display signal at night (letting the display sleep) and turning it back on in the morning. With computer monitors this is easy, with TVs it probably needs HDMI-CEC, but seems possible.