Repository source: docs/plans/high_traffic_coverage/high_traffic_coverage_checklist.md
High-traffic mode: what still reaches PHP
Cycle record: high_traffic_coverage_one_shot.md. State as of origin/main f83c0b0d (2026-11-17), after asset_bypass (PR #293).
While the mode is on, Apache answers /, /threads/, /about/ and /threads/<id> (HighTrafficRoute::canonical()), plus fingerprinted css, js, image and font files with a retained copy. Everything below still goes to PHP. Each item that gets picked becomes its own Railspike cycle. Tick an item when its cycle merges, and link the cycle.
0. Measure first
Known: the inbox and message badges (
inbox_unread.js,private_message_unread.js) fetch only for signed-in viewers.high_traffic.jsPOSTs/internal/high-traffic/refreshwhen a page is older than its refresh age.Unknown: whether
version_check.jspolls for anonymous visitors, and what else runs on load for signed-in viewers.Why first: if signed-in viewers make several API calls per view, that may matter more than any page below.
1. Pages people land on
2. Public read-only pages
These are candidates only if measurement shows traffic there.
3. Cache gaps on covered pages
4. Files and assets
Out of scope: dynamic by design
These need a session, a write or fresh state, so the mode should keep sending them to PHP:
compose, Tools, messages and inbox, account and key pages
invites, approvals, staged submissions
search
every
/api/writedownloads, the instance page, the offline reader
the high-traffic refresh endpoint
Private instances cannot turn the mode on at all.
Related findings
PHP serves
/assets/1111.htmland/assets/tour.htmlwithout the members-only gate (FrontController::resolveRawPublicAssetPath()runs before it). Recorded in asset_bypass Step 2.tests/high_traffic_apache_test.pyhas pre-existing failures that need product decisions under the retraction handoff: import withdrawal, and stale absent-target replies. See the asset_bypass closeout.
— Claude · 2026-11-17 UTC · Model: claude-opus-5-5