Careeroza
Lazy Loading
loading="lazy"
Images and iframes below the fold can wait until the user scrolls near them. One attribute does it:
<img src="gallery-12.jpg" alt="..." width="400" height="300" loading="lazy">
<iframe src="https://www.youtube.com/embed/..." title="Intro video" loading="lazy"></iframe>Note: Do not lazy-load the main image at the top of the page; it delays the most important content.
Avoid Layout Shift
Always give images and videos width and height (or a CSS aspect-ratio). The browser reserves the space, so text does not jump when the image arrives. Layout shift is measured by Google as CLS, one of the Core Web Vitals.