Sub topic 10
Keep the Page Fast with Optimized Media
This chapter assumes you have a landing page with a hero section and supporting sections, and that you can upload images in your builder. Images and video are usually the heaviest part of a landing page. Slow pages lose visitors before they see your offer, and paid campaigns pay for every lost click.
Why media decides speed
A page's weight is mostly bytes of media. A single uncompressed phone photo can be 4 MB, which is more than the rest of the page combined. On a mobile connection, that means a blank hero for several seconds.
Two measures matter most:
- Total page weight. A good target for a simple landing page is under 1.5 MB.
- Largest Contentful Paint (LCP). This is the time until the biggest visible element, usually the hero image or headline, finishes loading. Aim for 2.5 seconds or less.
Optimize images before you upload
Builders often resize and compress for you, but they work best when you start with a sensible file. Follow these steps for each image.
- Resize to the displayed size. A hero that shows at 1440 px wide needs a file about 1440 to 2000 px wide. Do not upload a 6000 px original.
- Pick the right format. Use the table below.
- Compress. Export JPEG or WebP at about 75 to 85 percent quality. The difference is rarely visible, and the file shrinks by half or more.
- Name the file clearly. Use
spring-sale-hero.webp, notIMG_4032.webp.
| Content | Best format | Notes |
|---|---|---|
| Photos | WebP or JPEG | WebP is usually 25 to 35 percent smaller |
| Logos and icons | SVG | Stays sharp at any size |
| Flat graphics with transparency | PNG or WebP | Avoid PNG for photos |
| Short animations | MP4 or WebM | Much smaller than animated GIF |
Load only what is needed
Not every image has to load at once. Visitors cannot see images far below the fold, so the browser can wait on them.
- Lazy loading delays loading an image until the visitor scrolls near it. Most builders enable it by default for images below the hero. Check the image settings.
- Do not lazy load the hero. It is visible immediately, so delaying it makes LCP worse.
- Set width and height. Reserved space stops the layout from jumping as images arrive.
Handle video and extras carefully
Background video looks good but is costly. If you use it, keep it under 10 seconds, muted, and compressed, and provide a still poster image. For a lead-generation page, a static hero image usually converts as well and loads far faster. Embedded players from video sites add extra scripts, so consider a thumbnail that links to the video instead.
Also review fonts and third-party widgets. Each custom font file and each chat or tracking script adds requests. Keep to two font weights and remove widgets that do not serve the page's single goal.
Measure the result
Run the published page through a tool such as PageSpeed Insights. Check the mobile score first, since most campaign traffic comes from phones. Look at the list of opportunities, which names the exact images that are too large. Fix the biggest file first, then test again.
Exercise
Your hero image is a 5 MB JPEG at 5000 px wide, displayed at 1440 px wide. Name three changes that would speed up the page, and say whether the hero should be lazy loaded.
Show answer
Resize it to roughly 1440 to 2000 px wide, convert it to WebP or compress the JPEG to about 80 percent quality, and give it a descriptive file name and set width and height so the layout does not shift. The hero should not be lazy loaded, because it is visible immediately and delaying it would slow the Largest Contentful Paint.