Keep critical content on the server

Use Server Components for primary structure and metadata. Isolate small controls instead of making a whole page client-rendered for one animation.

Treat metadata as route data

Give each indexable route a unique title, description and canonical. Use generated metadata for data-driven pages and make social fields match the record.

  • One descriptive H1
  • Self-referencing canonical
  • Page-specific title and description
  • Index directives for the environment

List only canonical URLs

A sitemap should contain URLs you want indexed, not utilities, parameters, redirects or placeholders.

Budget media and JavaScript

Reserve image dimensions, load below-fold media lazily and keep motion on transforms and opacity. Measure real templates rather than assuming a framework guarantees Core Web Vitals.

Primary references