perf: improve homepage Lighthouse score#612
Open
jamilahmadzai wants to merge 1 commit into
Open
Conversation
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.
/claim #217
Summary
/and defers the Docusaurus runtime/main bundles until real user interaction.Lighthouse evidence
Release build served from
npm run build; audited/only with PWA ignored.Demo video: https://github.com/jamilahmadzai/tailcallhq.github.io/releases/download/tailcall-217-demo-26c1a10/tailcall-217-demo.mp4
Checks
npm run buildnpx prettier --check docusaurus.config.ts plugins/homepage-first-load-plugin.ts src/components/home/Banner.tsx src/components/home/BenefitsCard.tsx src/components/home/ChooseTailcall.tsx src/components/home/Configuration.tsx src/components/home/Graph.tsx src/components/home/IntroductionVideo/index.tsx src/components/home/IntroductionVideo/style.css src/components/home/Testimonials.tsx src/components/home/TrustedByMarquee.tsx src/components/shared/CookieConsentModal/CookieConsentModal.tsx src/components/shared/Discover.tsx src/components/shared/Footer.tsx src/components/shared/GlobalHead.tsx src/constants/index.tsxnpx lighthouse http://127.0.0.1:4218/ --only-categories=performance,accessibility,best-practices,seo --output=json --chrome-flags='--headless=new --no-sandbox'npm run typecheckstill fails on existing generated GraphQL, DocSearch, and GraphiQL type errors outside this change.Bounty payout: Algora account for
@jamilahmadzai.