They could be using a service worker, cache, or Window navigator.onLine, which is explained here:
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine https://www.w3schools.com/jsref/prop_nav_online.asp