Skip to main content
web.dev
Resources
  • Web Platform
  • Dive into the web platform, at your pace.
  • HTML
  • CSS
  • JavaScript
  • User experience
  • Learn how to build better user experiences.
  • Performance
  • Accessibility
  • Identity
  • Learn
  • Get up to speed on web development.
  • Learn HTML
  • Learn CSS
  • Learn JavaScript
  • Learn Performance
  • Learn Accessibility
  • More courses
  • Additional resources
  • Explore content collections, patterns, and more.
  • AI and the web
  • Explore
  • PageSpeed Insights
  • Patterns
  • Podcasts & shows
  • Developer Newsletter
  • About web.dev
Baseline Blog Case Studies
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Resources
Privacy Accessibility HTML Images Responsive Design Forms PWA CSS Performance Testing JavaScript
web.dev
  • Resources
    • More
    • Privacy
    • Accessibility
    • HTML
    • Images
    • Responsive Design
    • Forms
    • PWA
    • CSS
    • Performance
    • Testing
    • JavaScript
  • Baseline
  • Blog
  • Case Studies
  • Welcome to Learn Performance!
  • Why speed matters
  • General HTML performance considerations
  • Understanding the critical path
  • Optimize resource loading
  • Assist the browser with resource hints
  • Image performance
  • Video performance
  • Optimize web fonts
  • Code-split JavaScript
  • Lazy load images and

Test your knowledge

What does the preconnect resource hint do?

Opens a connection to a cross-origin server, including the DNS lookup, as well as connection and TLS negotiation ahead of when the browser would otherwise discover it.
Correct!
Performs only a DNS lookup for the cross-origin server.
Try again.

What does the Fetch Priority API let you do?

Specify the priority at which the current page's HTML is downloaded.
Try again.
Specify the relative priority for , , and