Chapter 08
Images, fonts, scripts and metadata
What the Next.js optimization components and the Metadata API do for you, and what they still leave to you:next/image, next/font, generateMetadata with streaming, next/script strategies, and file-based metadata routes.- 010What does
next/imagedo to an image, and what must you still supply?medium - 020How does
next/fontavoid layout shift and third-party font requests?medium - 030How does
generateMetadatainteract with streaming and request dedup?hard - 040What do the
next/scriptstrategies change about load order?medium - 050How are file-based metadata routes (
opengraph-image,sitemap) generated and cached?medium