Website performance

Design responsive image sources

Serve appropriately sized images with correct aspect ratio and meaningful alternatives. Oversized images waste data while undersized assets blur important detail. Performance work should use field data where available and repeatable lab tests otherwise; avoid universal thresholds beyond published guidance or improvements inferred from one device.

User-perceived speed and delivery constraints

Oversized images waste data while undersized assets blur important detail.

  • Measure a representative page and identify the limiting resource
  • Change one delivery or rendering constraint at a time
  • Compare field and lab evidence without hiding regressions

Implementation approach

Provide source variants, sizes and fixed dimensions.

  • Confirm the responsible owner
  • Apply the change to a representative case
  • Document decisions and exceptions

Practical example

A product grid selects smaller images on narrow screens.

  • Reproduce the starting situation
  • Apply the described approach
  • Check the user-facing result

Verification and follow-up

Check decoded size, crop relevance and layout stability.

  • Test expected and failure cases
  • Compare with the recorded baseline
  • Agree the next review date and owner

Questions to keep in view

When should a team use this website performance guide?

Serve appropriately sized images with correct aspect ratio and meaningful alternatives.

What should be checked before rollout?

Check decoded size, crop relevance and layout stability.