Framework Performance Defaults: Core Web Vitals, INP, and Resource Inlining
What Chrome Aurora is, how it ships performance defaults in frameworks, and how INP and inlining change real sites.
This page summarizes Chrome for Developers documentation on Aurora: a collaboration between Chrome engineers and open-source web frameworks to improve user experience, with strong emphasis on Core Web Vitals and framework-level defaults so teams do not have to become performance experts on every release.
Aurora: what it is and why frameworks matter
Section titled “Aurora: what it is and why frameworks matter”Aurora is described as a collaboration between Chrome engineers and open-source web frameworks to improve user experience across the web, with special emphasis on performance.
Open-source tools and frameworks play a large role in enabling developers to build modern apps for the web, while also supporting good developer experiences.
— Chrome, Aurora
The Introducing Aurora overview frames the goal plainly: interactive applications should meet a high UX bar without every site owner mastering every best practice.
We believe that frameworks can also play a big role in helping developers with key quality aspects such as performance, accessibility, security, mobile readiness. Instead of asking every developer and site owner to become an expert in these areas and keep up with the constantly changing best practices, the framework can support these with baked-in solutions.
— Chrome, Introducing Aurora
In 2024 the Aurora program called out a renewed focus on Core Web Vitals for applications built with web frameworks, with active partnerships called out for Next.js, Angular, and Nuxt on the Aurora hub.
Aurora vs other Chrome developer programs
Section titled “Aurora vs other Chrome developer programs”Aurora is not the same effort as Project Fugu (new web platform APIs) or the Built-in AI docs. Those clusters sit beside Aurora on Chrome documentation but address capability gaps and on-device AI, not baked-in framework performance defaults. This page stays on Aurora’s performance and responsiveness work.
Strategy: strong defaults across the stack
Section titled “Strategy: strong defaults across the stack”Why Aurora starts with popular frameworks
Section titled “Why Aurora starts with popular frameworks”Frameworks span client and server, dev and production, and bundle compilers, linters, and bundlers. Aurora’s strategy doc argues that when good behavior is the default, product teams ship features instead of re-solving loading, images, and scripts on every app.
Frameworks have a unique vantage point for influencing both DX and UX as they span the entire system: the client and the server, the development and production environments, and they integrate tools such as compiler, bundler, linter etc.
— Chrome, Introducing Aurora
Because React adoption is largest in the core UI ecosystem, many optimizations were proven in Next.js before spreading elsewhere—a pragmatic sequencing choice, not a claim that one framework is always fastest.
How Aurora lands features in open source
Section titled “How Aurora lands features in open source”The work process section lists a partner-driven loop: find pain in a representative stack, prototype strong defaults, verify on another stack, validate in production (often with lab testing), RFC with the community, ship behind a flag, then enable by default and port to more frameworks. Shared tooling (webpack, Babel, ESLint, TypeScript) means a change in one stack can ripple across others. The Chrome Framework Fund is mentioned as funding for ecosystems such as webpack 5, Nuxt, and ESLint improvements.
Shipped optimizations: images, fonts, CSS, and JavaScript bundles
Section titled “Shipped optimizations: images, fonts, CSS, and JavaScript bundles”The Introducing Aurora post lists concrete outcomes Aurora associates with framework collaboration:
| Area | What shipped (per Chrome docs) | Reported effect (examples cited) |
|---|---|---|
| Images | Next.js Image component patterns; Nuxt collaboration |
Example: 57% LCP reduction and 100% CLS reduction on nextjs.org/give |
| Web fonts | Build-time inlining of font CSS in Angular and Next.js | Notable LCP/FCP improvements |
| Critical CSS | Critters-based inlining in Angular and Next.js | ~20–30 point Lighthouse gains on a large Angular app when combined with font inlining |
| Linting | ESLint plugin/config in Next.js | Catch framework-specific loading issues at build time |
| Bundling | Granular chunking in Next.js and Gatsby | 30–70% bundle size reduction; default behavior in webpack 5 |
| Third parties | Script loading work (e.g. next/third-parties topics on the Aurora hub) |
Aimed at lower perf impact from third-party scripts |
Third-party script loading and React Server Components in Next.js appear in Aurora’s forward-looking work list on the same overview page—useful context if you are debugging script order or server-driven UI, but not a full integration guide here.
Resource inlining: fonts and critical CSS
Section titled “Resource inlining: fonts and critical CSS”Resource inlining in JavaScript frameworks explains two Aurora-backed build optimizations that target Largest Contentful Paint (LCP) and First Contentful Paint (FCP).
Font inlining in Next.js and Angular
Section titled “Font inlining in Next.js and Angular”Font CSS inlining landed so applications do not pay an extra render-blocking round trip for @font-face rules. Chrome documents it as enabled by default from Next.js v10.2 and Angular v11, with Google and Adobe font support called out for Next.js and Google Fonts for Angular.
Critical CSS inlining and the flicker trade-off
Section titled “Critical CSS inlining and the flicker trade-off”Many apps historically loaded styles with a media="print" + onload pattern to avoid blocking render. Chrome’s article warns that pattern can cause a flash of unstyled content and hurt Cumulative Layout Shift (CLS) when styles apply late.
Critical CSS inlining uses tooling (Critters) to match selectors in stylesheets to the page HTML and inline only styles needed for first paint, while deferred styles still load asynchronously. Angular enabled this by default in v12 (inlineCritical in angular.json on v11). Next.js opted in via experimental: { optimizeCss: true } in next.config.js at the time of that post.
Enabling the critical CSS and font inlining on angular.io improved the Lighthouse score by 27 points on a slow 3G network.
Interaction to Next Paint (INP): why frameworks are central
Section titled “Interaction to Next Paint (INP): why frameworks are central”How do modern frameworks perform on the new INP metric ties Aurora’s responsiveness work to Interaction to Next Paint (INP), which Chrome documents as a Core Web Vital as of March 12, 2024. INP measures overall interaction latency, not only the first input.
INP vs First Input Delay (FID): what changed for developers
Section titled “INP vs First Input Delay (FID): what changed for developers”Sites that rely on JavaScript for interactivity tie INP closely to main-thread work: event handlers, subsequent rendering, and anything that keeps the thread busy after a tap, click, or key press.
| FID | INP | |
|---|---|---|
| Measures | Delay from first input until the corresponding event handler runs | Overall interaction latency; worst/largest interactions dominate at scale |
| Depends on | Main thread free enough for the first handler | Main thread and handler cost for many interactions |
| Poor scores often from | Heavy JS during initial load | Heavy handler JS plus rendering work after handlers |
INP tends to have lower pass rates, and the difference in the measurement process requires additional code optimization.
— Chrome, How do modern frameworks perform on the new INP metric
Good INP is described as ≤ 200 ms. Chrome published June 2023 CrUX/CWV Technology Report pass rates by detected framework (mobile/desktop), for example Angular 28.6% / 83.6%, Next.js 28.5% / 87.3%, Nuxt.js 32.0% / 91.2%, Vue 50.3% / 94.1%—with explicit warnings not to choose a framework from that table alone.
We recommend not solely making decisions on the frameworks you are choosing based on the numbers above, without being aware of additional nuance.
— Chrome, How do modern frameworks perform on the new INP metric
The data is meant to show how much effort meeting INP goals may take when a given framework is detected on an origin, not to rank frameworks in isolation.
What Aurora and framework teams did for INP
Section titled “What Aurora and framework teams did for INP”Chrome groups Aurora + framework work into baked-in patterns:
- React / Next.js:
Scriptcomponent for third-party loading; granular chunking; route transitions usingstartTransitionby default in the new routing stack; work to expose INP in Next.js Analytics. - React concurrency:
startTransitionand Suspense for interruptible hydration—responsive during typing, hovers, and large updates such as autocomplete. - Angular: zoneless bundles, island-style hydration, cheaper change detection (including signals), finer code-splitting, loading indicators during SSR/navigation, and profiling for interaction cost.
Through these enhancements, we can address different issues that lead to poor responsiveness and user experience, and boost the CWV metrics and the new INP metric for framework-based websites.
— Chrome, How do modern frameworks perform on the new INP metric
Common mistakes when relying on framework defaults
Section titled “Common mistakes when relying on framework defaults”- Assuming green lab scores mean good INP in the field — INP reflects real interactions; heavy handlers on secondary pages still fail CrUX even if the homepage looks fine.
- Picking a framework from CrUX tables — detection covers limited URLs per origin; holotype and backend choices swamp framework labels.
- Async CSS without critical inlining — the
media="print"trick can fix blocking but worsen perceived stability; prefer documented inlining paths in your stack version. - Ignoring third parties — Aurora highlights script loading as a major INP/LCP lever; defaults help only when you use the framework’s script patterns.
- Skipping upgrades — font inlining, critical CSS, and chunking defaults landed in specific major versions; old CLI/tooling leaves performance on the table.
How to check this on your site
Section titled “How to check this on your site”- Confirm your framework and build tool versions against the defaults described in Resource inlining and Introducing Aurora (font inlining,
inlineCritical, chunking). - Review field INP and other Core Web Vitals using Chrome’s guidance in Learn Performance and the framework discussion in INP in frameworks.
- Compare lab vs field: reproduce slow interactions (forms, menus, route changes) while watching main-thread long tasks—not only first load.
- Audit third-party scripts using Aurora-related material on the Aurora hub (Script component /
next/third-partiestopics). - You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact passage you are questioning so it can be corrected or explained.