Sometimes a user may lose connection to the Internet while using the forum and then an offline page appears. Maybe it would be a good idea to add a script to the offline page that automatically refreshes the page when the Internet connection returns?
Sometimes a user may lose connection to the Internet while using the forum and then an offline page appears. Maybe it would be a good idea to add a script to the offline page that automatically refreshes the page when the Internet connection returns?
https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/onLine
Or:
This checks every second if the user is online, if so it refreshes the page