Skip to content
All posts

2 min read

Browser caching and compression: two quick wins checked on every page

Two server settings that make every page lighter and quicker, what Monitor checks for each, and what to ask whoever runs your server.

What if your website could open faster without anyone redesigning a single page?

Often it can. Two of the tests in Monitor’s Files group look at settings that live on the server, out of sight: browser caching and compression. They don’t change how anything looks. They change how much has to travel to the visitor’s phone, and how often.

Browser caching keeps the logo from downloading twice

When someone opens a page, their browser downloads the files it needs: the logo, the styles that give the site its look, the code behind the menu. Browser caching is the site telling the browser it may keep those files for a while, so the next page opens without fetching the same things again.

Monitor checks that browsers may keep files for at least a day. If the site tells them not to keep them, or only briefly, every page a visitor opens starts again from nothing. On a shop where people browse from product to product, that adds up with every click.

Compression sends the same page, packed smaller

Pages and other text files, like styles and code, can be sent compressed, a bit like a zipped folder, and the browser unpacks them on arrival. Compressed, they’re about three times lighter. Visitors see no difference, except that the page arrives sooner.

Monitor checks that pages and text files go out compressed. When some don’t, it lists the pages where it found them.

Why they’re quick wins

Both are usually a setting on the server or at the hosting company, changed once for the whole site. No pages to rewrite, no images to replace. That’s what makes them worth asking about first, especially on an older site that was put live in a hurry and never revisited.

It’s also why they’re so easy to miss. Nobody looking at the site would ever spot either one, because the pages look exactly the same with or without them. Only the waiting is different.

Monitor runs both tests on every page, round after round, so a server move that quietly undoes either setting shows up too, with since when. Once the server is changed, Check again on a listed page shows the result straight away. Until then, here’s what to ask whoever runs the server:

  • Are pages, styles and code sent compressed?
  • May browsers keep our files for at least a day?
  • Could the next hosting change undo either of these?