Skip to content
Speed and performance · free, no sign-up

CSS Caching Checker

Reads the caching headers of a page's stylesheets and flags those kept for under 7 days.

Why it matters

With good caching, a returning visitor's browser reuses your CSS rather than downloading it again. That makes the second page and every later visit much faster.

How to fix it

  • Send Cache-Control: max-age=31536000 for CSS files.
  • Put a version in the file name or address, so changes still reach visitors.

What a good result looks like

Your own stylesheets are cached for at least 7 days. A year is common if the file name changes with each update.

Common mistakes

  • Setting a long cache with a fixed file name, so visitors keep the old styles after an update.
  • Sending no cache header at all, so returning visitors download it every time.

Questions about the CSS Caching Checker

How do I change a file that is cached for a year?

Change its name or version, such as app.3f2a.css or app.css?v=2. Browsers treat that as a new file. Most build tools do this for you.

Why do other sites' files not count against me?

You can't change the headers on files from other services, such as Google Fonts. They still show in the table, but don't decide the verdict.

Check everything at once

Run our other instant checks on your site in one report.

Full SEO check-up

More speed and performance tools