Skip to main content
Crayons and Code

Image and video performance

Most slow pages are slow because of media. Use this checklist before you upload anything and your site stays fast by default.

Why this matters

Images and video are often the largest files on a page Source 1 . They also trigger layout shift when the browser does not know how much space to reserve Source 4 .

Fixing media after upload is possible. It costs more time than getting it right up front. It also delays improvements to LCP and CLS Source 3 Source 4 .

Before you upload an image

1) Choose the right dimensions

Do not upload a 4000 pixel photo to display it at 600 pixels wide. Oversized images waste bandwidth and slow mobile loads Source 3 .

2) Compress it properly

Compression is not optional. It reduces download time and helps pages become usable sooner Source 1 .

3) Make it responsive

Users browse on different screens and different networks. Serve a size that matches the device, so you protect LCP Source 3 .

4) Prevent layout shift

Layout shift happens when media loads and pushes content around Source 4 . It causes misclicks and frustration Source 1 .

5) Write useful alt text

Text alternatives support users using assistive technology Source 6 . They also help when images fail to load.

Before you upload video

1) Decide if video belongs on the page

Video supports understanding when it shows a process, a space, or a result. Video in a hero slot often harms loading speed, especially on mobile Source 3 .

2) Use a poster image

A poster image shows something useful immediately, without loading the full video. It also helps stability when dimensions are set Source 4 .

3) Control loading

Do not load heavy video assets before the user chooses to watch. Third-party video and embeds add cost, so load them with intent Source 5 .

4) Provide captions or transcripts

Captions and transcripts support accessibility and comprehension Source 6 . They also support users in noisy settings and users who keep audio off.

A simple media policy for small teams

Policies remove guesswork and keep content consistent. They also protect Core Web Vitals over time Source 2 .

Next step

If your site feels slow, start by auditing media on the top landing pages. Reducing image weight and preventing layout shift often delivers the quickest improvements Source 1 Source 4 .

Sources

  1. [1] web.dev. Why does speed matter?. Published: . View source Back to article
  2. [2] web.dev. Web Vitals. View source Back to article
  3. [3] web.dev. Largest Contentful Paint (LCP). View source Back to article
  4. [4] web.dev. Cumulative Layout Shift (CLS). View source Back to article
  5. [5] web.dev. Load Third-Party JavaScript. Published: . View source Back to article
  6. [6] W3C. Web Content Accessibility Guidelines (WCAG) 2.2. View source Back to article

Availability

Next full project start: February 2026.
Small jobs: 3 to 7 days. Capacity: up to 14 hours per week.