Why clear your browser cache?

Today we are addressing a crucial subject for the h2a web team: clearing your browser’s cache.

I can already hear your reaction: “Clear what?”

You have probably just changed something on the site, you refresh the page… and nothing changes. Don’t panic! It is most likely your browser’s cache playing tricks on you.

What is a browser cache?

Let’s start at the beginning: the cache is a kind of temporary memory where your browser (Google Chrome or Safari, for example) stores certain elements of the web pages you visit, such as images, style sheets and scripts.

This technique speeds up page loading by using files already downloaded during previous visits, instead of downloading them again.
That is why, when you open a site for the first time, it can sometimes take a while to load, whereas if you come back to it several times, your browsing will seem faster.

However, if changes have been made to the files it has stored, but your browser still holds an old version in memory, you will not be able to see the new version of the site without doing a little housekeeping.
It is in this specific case that we will ask you to clear the cache.

Why is clearing the cache so important when creating a website?

If you have ever worked on redesigning your website with an agency, you have surely heard the request to “clear your browser’s cache”.

Indeed, if during a day you have entered new content on a demo site while the agency updates some scripts on its side, there is a good chance the site will have changed appearance between the start and the end of the day. If your browser still holds an old version of the files, you will not be able to see the site’s new look.

By clearing your cache regularly, you make sure you always browse with the latest updates, which guarantees a better user experience.

How do you clear your browser cache?

Here is a quick guide for the most popular browsers:

Google Chrome

  1. Click the three vertical dots at the top right.
  2. Select “Settings”.
  3. Scroll down and click “Advanced settings”.
  4. Under “Privacy and security”, click “Clear browsing data”.
  5. Choose “Cached images and files” and click “Clear data”.
Screenshot of a browser's privacy settings. A section titled 'Clear browsing data' lets you delete history and cookies, and clear the cache.

Firefox

  1. Click the three horizontal bars at the top right.
  2. Select “Options”.
  3. Go to the “Privacy & Security” tab.
  4. Under “Cached web content”, click “Clear now”.

Safari

  1. Click “Safari” in the menu bar at the top.
  2. Select “Preferences”.
  3. Go to the “Advanced” tab and tick “Show Develop menu in menu bar”.
  4. In the “Develop” menu, select “Empty Caches”.

Microsoft Edge

  1. Click the three horizontal dots at the top right.
  2. Select “Settings”.
  3. Click “Privacy, search and services”.
  4. Under “Clear browsing data”, click “Choose what to clear”.
  5. Select “Cached images and files” and click “Clear now”.

We are well aware that we web professionals sometimes use strange vocabulary, which is why we took the time to write this little primer, which we hope will be very useful to you.

In the advanced settings of your browser, you can also “clear cookies”. Yes, cookies are the little window that pops up as soon as you arrive on a website. We explain what they are in the following article: what is a cookie?