Website performance

Verify HTTP compression safely

Confirm text assets use appropriate compression while avoiding compression of already compressed media. Compression affects transfer size and CPU, and misconfiguration can create errors. 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

Compression affects transfer size and CPU, and misconfiguration can create errors.

  • 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

Inspect content types, encodings and intermediary behavior.

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

Practical example

A stylesheet is delivered with supported compression while images retain their native encoding.

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

Verification and follow-up

Test browser decoding, cache variants and response headers.

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

Confirm text assets use appropriate compression while avoiding compression of already compressed media.

What should be checked before rollout?

Test browser decoding, cache variants and response headers.