Repository navigation
Load luna.css non-render-blocking on the homepage - #58
Merged
Merged
Conversation
The homepage's visible window is fully styled by the inline <style> block; luna.css only dresses the JS-injected .axp-* desktop shell that nav.js builds after defer. So blocking first paint on luna.css's 16KB brotli buys nothing. Swap the render-blocking <link> for a media="print" onload="this.media='all'" applier, keeping the high-priority preload up top and a <noscript> fallback for JS-off. The link stays in place so luna's cascade slot (after the inline block) is unchanged. Verified renderBlockingStatus flips to non-blocking on both source and the minified .build output, single fetch, no FOUC. Worker-rendered pages keep the blocking link by design (their inline critical set is geometry-only). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Understanding-first reviewThis is a prompt, not a score or merge gate. Before approving, reconstruct the change:
For docs and dependency changes, a compact answer is enough. For behavior or production changes, include the causal path and one concrete counterexample. The author’s claim card belongs in the PR description; this prompt is for the reviewer’s independent reconstruction. |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
aadhar-sh | ac40667 | Jul 22 2026, 02:04 AM |
This was referenced Jul 22, 2026
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.
The homepage's visible window is fully styled by the inline
<style>block. luna.css only dresses the JS-injected.axp-*desktop shell that nav.js builds afterdefer. So render-blocking first paint on luna.css's 16.3KB brotli buys nothing on the homepage.Change
<link rel="stylesheet">for amedia="print" onload="this.media='all'"applier.<noscript>fallback for JS-off.Verified
renderBlockingStatusflips from blocking to non-blocking on both source and the minified.build/output.onloadhandler and<noscript>.Scope / caveat
🤖 Generated with Claude Code