JS Guide
HomeQuestionsSearchResources
Search

Built for developers preparing for JavaScript, React & TypeScript interviews.

ResourcesQuestionsSupport
HomeQuestionsSearchProgress
HomeQuestionsperformance

performance

Web performance optimization, metrics, and monitoring

Your Progress

0 of 5 completed

0%

5 Questions

junior Level
1
What are Core Web Vitals and why do they matter?
junior
metrics
Core Web Vitals are Google's metrics for user experience: LCP (loading), INP (interactivity), and CLS (visual stability). They matter because they affect search rankings and directly correlate with user satisfaction and conversion rates.
2
How do you optimize images for web performance?
junior
images
Optimize images by: using modern formats (WebP, AVIF), proper sizing for display dimensions, lazy loading below-the-fold images, using responsive images with srcset, and compressing without visible quality loss.
3
What is lazy loading and how do you implement it?
junior
loading
Lazy loading defers loading non-critical resources until they're needed. For images, use loading="lazy" attribute. For JavaScript, use dynamic import() or React.lazy(). This reduces initial page load time and saves bandwidth.
4
What are the different types of caching for web applications?
junior
caching
Web caching includes browser cache (HTTP headers like Cache-Control), CDN caching for static assets, application cache (localStorage, sessionStorage, IndexedDB), and service worker caching for offline support. Each serves different purposes.
5
What is minification and bundling, and why are they important?
junior
bundling
Minification removes unnecessary characters (whitespace, comments) from code to reduce file size. Bundling combines multiple files into fewer files to reduce HTTP requests. Both reduce load times - bundlers like webpack, Vite handle this automatically.