Repository navigation
Conversation
…-header-toggles' into adk-310-analytics-loads-on-idle-without-the-extra-capture-modules * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: perf: cache narration files as immutable
…-header-toggles' into adk-311-featured-covers-sized-to-their-slot * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: perf: cache narration files as immutable
…-header-toggles' into adk-308-narration-downloads-only-on-play-with-its-length-from-the-manifest * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: perf: cache narration files as immutable
…-header-toggles' into adk-312-global-stylesheet-inlined-in-the-page * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: perf: cache narration files as immutable
…-header-toggles' into adk-310-analytics-loads-on-idle-without-the-extra-capture-modules * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: feat: load narrations only on play with their length from the manifest
…-header-toggles' into adk-311-featured-covers-sized-to-their-slot * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: feat: load narrations only on play with their length from the manifest perf: start analytics on idle without the exception capture module
…-header-toggles' into adk-312-global-stylesheet-inlined-in-the-page * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: feat: load narrations only on play with their length from the manifest perf: start analytics on idle without the exception capture module fix: add the 740 px candidate to the featured cover widths
…-header-toggles' into adk-313-header-toggles-hydrate-on-idle * adk-307-load-performance-defer-narrations-analytics-and-header-toggles: feat: load narrations only on play with their length from the manifest perf: inline the global stylesheet in the page perf: start analytics on idle without the exception capture module fix: add the 740 px candidate to the featured cover widths perf: cache narration files as immutable
Heatmaps enabled in the PostHog project settings load the dead-click module even with capture_dead_clicks off.
Astro's client:idle hydrates on the first idle callback, which the browser fires before the load event.
adeonir
deleted the
adk-307-load-performance-defer-narrations-analytics-and-header-toggles
branch
November 14, 2026 17:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The home no longer downloads narrations, analytics, or the header toggles' React runtime during the first render, and the global stylesheet ships inside the HTML.
Spec: ADK-307
Changes
preload="none")/narration/*as immutable for one yearclient:after-loaddirectiveEvidence
pnpm lighthouse(mobile)Before: not captured on this branch.
After: home Performance 99, 100, 100; colophon 100, 100, 100. Accessibility, Best Practices, and SEO at 100. No render-blocking stylesheet on the home.
pnpm lighthouse --collect.settings.preset=desktopBefore: not captured on this branch.
After: Performance 100 on every run; image delivery lists no featured cover.
pnpm preview, network panelBefore:
array.jsstarted at 286 ms, before the load event at 527 ms.After: no
/narration/request until play;array.jsstarts at 297 ms, after load at 125 ms; nodead-clicks-autocapture.jsorexception-autocapture.js./colophoninpnpm previewBefore:
reactstarted at 129 ms, before load at 301 ms.After: the React runtime starts at 163 ms, after load at 91 ms.
curl -sIon/narration/pt/hero.122702ad.mp3and/_astro/toaster.CoN6vlss.jsAfter: both return
cache-control: public, max-age=31536000, immutable.Merge risk
Door: two-way
Blast Radius: site-wide
Heatmaps stop collecting data, and the toggles and toaster become interactive slightly later on every page.