Website performance

Version browser-cached assets

Use stable asset versioning so browsers can reuse unchanged files and receive safe updates. Long cache lives require a reliable update mechanism. 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 cache lives require a reliable update mechanism.

  • 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

Generate content-addressed filenames and retain a controlled deployment rollback path.

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

Practical example

A changed JavaScript bundle receives a new hashed URL while unchanged assets remain cacheable.

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

Verification and follow-up

Test new deploys, rollback and stale HTML references.

  • 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 stable asset versioning so browsers can reuse unchanged files and receive safe updates.

What should be checked before rollout?

Test new deploys, rollback and stale HTML references.