Images, video and fonts

The heaviest files on most pages. How to pick formats, size images, and load video and fonts without slowing the first view.

Images, video and fonts are usually the largest files on a page, and the image at the top is very often the Largest Contentful Paint. Getting these right is the fastest way to a faster page on most sites. The guides in this topic go from the biggest wins (the right size and format for each image) to the details (how to tell the browser which image matters most, and how to stop fonts from shifting the layout).

For images, work in this order. Image optimization for speed gives the whole plan. Then choose the format, send the right size, set width and height and lazy-load only what is below the first screen. The image attributes cheat sheet puts it on one page, and image SEO and speed covers search.

For other media, read about video, animated GIFs and SVG.

For fonts, start with web fonts and speed, then fixing font layout shift. To see what real sites do, read web fonts in 2025.

Guides in this topic 12 guides

Start here

Free website audit

Live Google data for any public page: mobile and desktop.

Mobile + desktop · Lighthouse lab test · Real-user Chrome data when Google has it

Rather have this done for you? Speed optimization · Book a call

More topics

For business owners14 guidesSpeed metrics19 guidesCSS and JavaScript15 guidesServers and caching11 guidesWordPress and platforms13 guidesTesting and monitoring10 guidesTechnical SEO13 guidesReference7 guidesSpeed Lab12 guides