It doesn't run the checks on every page. Only pages that contain the `server-online-only` class on some element, or have the `server_online_status_callback` defined. So, it's effectively on-demand.