What is lazy loading?
- A technique that involves loading non-critical assets on a page only when needed
- A type of responsive website design
- A strategy that involves combining image resources by utilizing image sprites
- A tactic to improve page speed by loading JavaScript asynchronously
Explanation: The correct answer is A technique that involves loading non-critical assets on a page only when needed. Lazy loading is a performance optimization technique used to enhance web page loading speed by deferring the loading of non-essential or below-the-fold content until the user scrolls or interacts with the page. This approach prioritizes the initial loading of critical assets, such as text and images within the viewport, to deliver a fast and efficient user experience. Non-critical assets, such as images, videos, or JavaScript, are loaded dynamically as they come into view, reducing the initial page load time and conserving bandwidth. By implementing lazy loading, website owners can significantly improve page loading performance, decrease bounce rates, and enhance user engagement, particularly on content-rich or image-heavy web pages. This technique aligns with best practices for web performance optimization and is widely adopted across various platforms and frameworks to deliver faster and more responsive web experiences.