TLDR: Sync's webv4 is now very fast and does not stall.
Detail: Two changes to address long pauses when navigating the webv4 forum:
1) webv4/lib/forum.js Remove unnecessary MsgBase open/close from
listSubs. The two fields requiring an open MsgBase (unread, newest)
are both commented out, making the open/close pure overhead. This caused multi second page render stalls on every click.
2) webv4/root/js/common.js - Add AbortController to v4_fetch() so
in-flight AJAX requests are cancelled when a new request is made,
preventing orphaned server-side threads from accumulating during rapid navigation. Also adds beforeunload handler to close the EventSource
connection cleanly on navigation.
Fix overview: [
https://gitlab.synchro.net/main/sbbs/-/merge_requests/703]
Download Sync's nightly build to update: [
https://wiki.synchro.net/install:dev]
https://gitlab.synchro.net/main/sbbs/-/merge_requests/703