Clear your browser cache

When a website acts up, clearing cached files and cookies often fixes it. Steps for Chrome, Edge, Firefox, and Safari, plus what you lose when you do.

A page that will not load properly, a login that keeps looping, a site that still shows last week’s prices: these are often caused by stale files your browser saved to speed things up. Clearing the cache and cookies is the classic first fix, and it is part of a good spring cleanup too.

Before you clear everything, it helps to know what each item does, because some of them are worth keeping.

What you are actually deleting

Google’s help page on deleting browsing data in Chrome explains the main categories in plain language. They are similar in every browser:

  • Cached images and files. Parts of pages the browser saves so they open faster next time. Clearing these is safe. Pages may just load a bit slower the first time.
  • Cookies and site data. Small files websites store to remember things like your login and preferences. Clearing these signs you out of most sites.
  • Browsing history. The list of sites you visited.
  • Saved passwords and autofill data. Usually you want to keep these. Only delete them on purpose.
  • Site settings. Permissions you gave sites, such as camera or location access.

Tip: For a misbehaving website, start with only cached images and files. If that does not fix it, add cookies and site data. Leave passwords and autofill alone unless you are giving the device away.

Google Chrome

From Google’s Chrome help page:

  1. Click the More menu (three dots) at the top right.
  2. Choose Delete browsing data.
  3. Pick a time range, such as Last hour or All time.
  4. Check the types of data to remove.
  5. Click Delete data.

Two notes from Google: if you are signed in to Chrome with sync, deleting data also removes it from your other devices and your Google Account. And deleting cookies while signed in to Chrome will not sign you out of Google itself, because Chrome refreshes those cookies. To clear Google’s cookies too, sign out of Chrome first.

Microsoft Edge

Microsoft’s guide to deleting browsing data in Edge lays out these steps:

  1. Select Settings and more (three dots) > Settings > Privacy, search, and services.
  2. Under Clear browsing data, select Choose what to clear next to Clear browsing data now.
  3. Choose a Time range.
  4. Check the types of data, such as Cached images and files and Cookies and other site data.
  5. Select Clear now.

Microsoft points out that if sync is on, synced items are cleared across all your synced devices. To clear only the current device, turn sync off first under Settings > Profiles > Sync.

Mozilla Firefox

Mozilla’s article on clearing cookies and site data in Firefox offers a handy shortcut for one problem site: click the padlock icon to the left of the address bar, then Clear cookies and site data. That fixes the site without signing you out of everything else.

To clear everything:

  1. Open Settings from the menu button.
  2. Select Privacy & Security, then go to Cookies and Site Data.
  3. Click Clear Data.
  4. Choose a time range, make sure Cookies and site data and Temporary cached files and pages are checked, and click Clear.

Safari on Mac

Apple splits this into two parts. To clear cookies and website data, Apple’s guide to clearing cache and cookies in Safari says:

  1. Choose Safari > Settings, then click Privacy.
  2. Click Manage Website Data.
  3. Select one or more websites and click Remove, or click Remove All.

Apple warns this may sign you out of websites, and that removing website data in Safari may change it in other apps too. To clear history, Apple’s history guide says to choose History > Clear History and pick how far back to go. If your Apple devices sync Safari through iCloud, the history clears on all of them.

After you clear

  • Expect to sign back in to sites if you removed cookies. Have your password manager handy.
  • Reload the problem page. If it still misbehaves, try a private window, which starts with no cookies. If it works there, the problem is probably something in your normal browser profile, such as leftover site data or an extension.
  • Update the browser. Many “broken site” problems are really an outdated browser. Our piece on Chrome patch habits covers why prompt updates matter.

Bottom line

For a misbehaving site, clear cached images and files first, then cookies and site data if needed, and leave saved passwords alone. In Chrome and Edge, use the three-dot menu; in Firefox, try the padlock shortcut; in Safari, use Manage Website Data. Remember that sync can spread the cleanup to your other devices, and that removing cookies means signing back in.

Image: Qutzl Insights abstract illustration of a browser window being tidied; not a product image.

Advertisement

AuthorMichael NarehoodFounder