Websites can work without internet connection after the initial visit: https://developer.mozilla.org/en-US/docs/Web/Progressive_web...