Skip to main content
InterviewHubPRO
Section Overview
Q12

Question 12 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

24%
Next.js & App Router (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

How does Next.js Font Optimization (`next/font`) work?

junior LevelPerformance

In Simple Words: Traditional web fonts hosted on Google Fonts make external network requests, delaying text rendering and causing Cumulative Layout Shifts (CLS) when fonts swap.

  • next/font (Google & Local):
    • Downloads font files at build time and hosts them locally alongside your static assets.
    • Injects CSS size-adjust to match fallback system fonts perfectly, eliminating layout shifts completely.
    • Zero external browser requests to Google servers (100% GDPR compliant).