MCQ Hive stays free thanks to ads. Please disable your ad blocker for this site so content and features keep working.
Multiple Browsers
Caching & Performance
Beginner
Q
What is the difference between and ?
AThey are identical
Bpreload fetches a high-priority resource needed by the current page; prefetch fetches a low-priority resource likely to be needed for a future navigation
Cpreload works only for images
Dprefetch is for the current page; preload is for future pages
Correct Answer:
B. preload fetches a high-priority resource needed by the current page; prefetch fetches a low-priority resource likely to be needed for a future navigation
Explanation:
preconnect sets up the DNS lookup, TCP, and TLS connection to an origin early.
ALSO KNOW (related points):
• What does Chrome's back/forward cache (bfcache) do? → It keeps a snapshot of the page in memory so that back and forward navigation is instant
• Which DevTools feature simulates a slow 3G connection to test page performance? → Network throttling