3 ms·
I use Github Pages for my status page too. Not something I use for websites/web apps I develop for clients, but for my own irrelevant website, I go as far as t
by wanda 11y ago
I use Github Pages for my status page too.
Not something I use for websites/web apps I develop for clients, but for my own irrelevant website, I go as far as to cheat and use the following:
<img src="https://des.tination.server/img/1px.gif"
onload="statusOk()"
onerror="statusDown()"
alt="">
<script>
function statusOk()
{
// do something involving green and check marks
}
function statusDown()
{
// do something involving red... and crosses
}
</script>
(Obviously you have to prevent caching)
- computer 11y agoPeople usually don't go to a status page to see if a page is reachable from their computer. They know that already. They want to know if it's a global issue, and if the company is aware that it's down, and when it will be back up.
- BorisMelnik 11y agogood point, in our situation people check to see if the mail server is down etc
- andreasklinger 11y agofor more complex usecases you could load an api status json endpoint instead