simplemonitor
simplemonitor copied to clipboard
HTML logger should use XHR to update page
Instead of reloading the whole page, the HTML logger should write a JSON file which the HTML page fetches with XHR to refresh the page.
I understand the urge, but would advise against replacing it. Or if implemented, make js disable the native html reloading, so that users with js disabled still get the reloading page for updates.
Thanks for the feedback :) You'll be pleased to know I'd implement this as a new Logger type (keeping the old one), because a) I see the benefits for the old one in certain use cases and b) I'd have to write it pretty much from scratch anyway due to how the old one is implemented