854f06401f
Codex's point: edge-caching /api/brief helps anonymous visitors, but a logged-in reader with prefs/dismissals makes it a personalized (private, origin-bound) request — so it won't fix Jay's own "Gathering the good news…" delay. The real fix isn't more CDN tuning, it's not blocking the first paint on the network. The brief is already saved locally (BRIEF_VIEW_KEY). Now on the Today view we render that saved brief immediately and refresh /api/brief in the background; "Gathering…" only shows on a true first visit with nothing cached. A failed background refresh stays invisible (loadToday returns if a brief is already painted; onMount won't blank painted content) so a slow/offline origin never wipes a good view. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>