Repository navigation
perf: paint the home page before analytics and motion load - #8
Merged
Merged
Conversation
GHSA-p3m5-59mp-jv5r (denial of service in App Router server actions) and the critical unauthenticated remote code execution advisory cover next 16.0.0 through 16.4.0. The audit gate went red on staging at 17:39 UTC. Format, tests (72), build and audit pass on 16.4.2. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DrYM9YJajWKgE2fHSAALBw
Tiles render visible at first paint. Only tiles below the fold animate in on scroll. The hero name animates with CSS keyframes. posthog-js, GSAP, ScrollTrigger and Lenis load through dynamic imports, so the initial home page JS drops from 382 KB to 231 KB (gzip). app/lib/analytics.mjs queues up to 50 events until posthog-js attaches. Also bumps next to 16.4.2 for GHSA-2464-fhr4-w9xw and GHSA-p3m5-59mp-jv5r, removes @gsap/react, and adds easton mcp to the projects tile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
opacity: 0and waited for GSAP to hydrate and reveal it.app/lib/analytics.mjsqueues up to 50 events until it attaches.app/lib/motion.mjs.@gsap/reactis removed.auditjob on staging.Measurements
The server side was already fast. HTML TTFB is 145 ms and every API route answers in 125 to 180 ms from the CDN. So the time went to client JS and the opacity gate.
Trade-offs
Checks
pnpm test: 75 pass, 0 fail (3 new analytics tests).pnpm format:checkandpnpm build: pass.coherence spec --checkandcoherence run: 22 of 22 pass.next start: the first frame shows all static tiles, and the settled frame shows every data tile.Not in this PR
'use cache'.jakesciotto.com307 towww(Vercel domain setting).🤖 Generated with Claude Code