EN, Change language
English
UK-133

Static files carry caching headers so they can be cached.

The GDS Way · Every UK public sector website

Why it matters to users

When the browser can reuse files, pages load faster on repeat visits and use less data.

How to fix it

Send Cache-Control headers on CSS, JavaScript, fonts and images, such as max-age=31536000 for files with a version or hash in their name. Then scan again.

How we measure it

Cache-Control or Expires on the CSS, JavaScript, fonts and images the pages load.

Its official source

Related rules

Static files cached · UK-133 | xfix