Website performance

Set image CDN cache headers

Use cache directives that balance image reuse with timely replacement of changed assets. Long caching needs versioned URLs or reliable invalidation. 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

Long caching needs versioned URLs or reliable invalidation.

  • 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

Choose immutable asset names and document purge procedures.

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

Practical example

A versioned image URL can be cached while a new product image receives a new identifier.

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

Verification and follow-up

Test update propagation and stale-image recovery.

  • 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?

Use cache directives that balance image reuse with timely replacement of changed assets.

What should be checked before rollout?

Test update propagation and stale-image recovery.