AJAX Commentary

Live chat built into the commentary sections. Automatically refreshes without a page reload, checking every 5 seconds while conversation flows and easing off to a 10 second cap in a quiet room. Any new line, a keypress, or a return to the tab puts it straight back to 5. It pauses automatically while the browser tab is hidden, posts comments without a refresh, and pauses after 15 minutes of inactivity (not 6).

How It Works

Auto-Refresh System:

  • Your browser checks for new comments every 5 seconds while lines keep arriving. After 3 quiet checks it slows to 7.5 seconds, after 6 it sits at the 10 second cap. Any new line, posted comment, or edit resets it, as does a keypress or your return to the tab. Every delay also carries a plus or minus 10 percent wobble so tabs opened together never ask in unison. The schedule is the same for every player and there is no option to speed it up
  • Fetches only the comments newer than the last one you saw, without reloading the page
  • Adds new comments to the page (no page reload)
  • Automatically skips polling entirely while the browser tab is hidden, then polls immediately on refocus
  • On a full page load, the first comment you have not seen before is marked with a divider: a bold, gold-edged row that shows where you left off in a busy room

Posting Comments:

  • Type comment in form
  • Submit the form as usual
  • Comment posted instantly without page reload
  • Form clears after successful post

Inactivity Detection:

  • Auto-refresh pauses after 15 minutes without activity
  • Idle that long and auto-refresh pauses behind a resume pill: "Live Update stopped due to inactivity, click here to reactivate it." If messages landed while the pill was up, it counts them instead and reads "▲ 4 new messages," so the backlog announces its own size
  • Separately, when the session itself is near expiry, the notice becomes a warning with a link to stay logged in; let the session lapse and it becomes a link to log back in
  • Click any of them: this resets the session timer (or logs you back in) and resumes auto-refresh

Benefits

For Users:

  • Real-time chat experience without manual refresh
  • Faster conversation flow in village commentary
  • No lost text when typing during page refresh
  • Predictable update speed (5 seconds in a busy room, at most 10 in a quiet one, the same rules for everyone)

For the Server:

  • Lower bandwidth than full page reloads
  • Updates stop entirely for hidden tabs and after 15 minutes idle, saving server resources
  • Small updates instead of full pages

Limitations

  • Requires JavaScript: No live chat without JS enabled (falls back to manual refresh)
  • Fixed Refresh Rate: The cadence is not adjustable: 5 seconds while a room is busy, a 10 second cap once it goes quiet. There's no way to speed it up, and nothing ever polls slower than the cap
  • No Offline Queuing: If connection lost, comments don't queue (user must refresh)
  • Session-Length Timeout: Updates pause on the same clock as your session's inactivity timeout (15 minutes), and you'll need to click through the "still there?" prompt to keep it going

Comparison to Manual Refresh

Without AJAX Commentary:

  • Must manually click "Refresh" or reload page
  • Lose typed text when refreshing
  • Full page reload every time
  • Slower conversation

With AJAX Commentary:

  • Auto-refresh from every 5 seconds out to a 10 second cap in quiet rooms
  • Keep typed text during refresh
  • Only commentary section updates
  • Real-time chat feel

Strategy

What You Can Actually Control:

  • Nothing about the refresh rate: the 5 second base and the 10 second quiet-room cap are the same for every player, so there's nothing to tune here
  • Your session's inactivity timeout (15 minutes) governs when idle polling pauses; staying active in the game resets it naturally

If You Want to Avoid It:

  • Disable JavaScript in your browser (falls back to manual, page-reload-based commentary, with everything else that implies)
  • Otherwise, live polling is just how commentary sections behave now; there's no in-game toggle to turn it off

AJAX Commentary: where your browser polls the server every 5 seconds asking "any new messages? any new messages? any new messages?" like an impatient child on a road trip, and where a run of "no" answers teaches the child some restraint: 7.5 seconds between questions, then a capped 10, until one new message, one keypress, or your return to the tab restores the original tempo at once. The schedule is the same for everyone, and there is no dial to turn the chattiness up. Once your session's been idle long enough (15 minutes, not the urban legend of 6) the system makes you click a button to prove you're still awake. At least you don't lose your carefully-typed insult when the page auto-refreshes.