If you’ve ever asked for help with a web browser that’s running slowly or misbehaving, the chances are that at some point it’s been suggested you clear the browser cache. But what is browser cache? What does clearing browser cache do? And will clearing it fix your problems? Put simply, clearing browser cache removes files stored on your computer by websites you visit. It’s perfectly safe, won’t delete passwords, bookmarks, or downloads, and may well fix problems with pages loading slowly.

What is browser cache?

Browser cache is a collection of files, like images, GIFs, and stylesheets that are stored on your computer by websites you visit. The idea is that by storing those files on your computer, the web browser won’t need to download them from a server every time you visit the site. It can just load them from a folder on your computer, which is much faster. Cache files are specific to each browser. So, if you visit the same site in, say, Safari and Chrome, each will have a cache of files for that site.

What does clearing browser cache do?

Clearing cache gets rid of those files from your Mac and forces the web browser to download new copies from the website. While that usually means web pages will load more slowly the first time you visit them after clearing cache, it also fixes problems caused by cache files that have become outdated or corrupt, or links that are broken.

Is it safe to clear browser cache?

Yes, it’s perfectly safe, and other than causing pages to load more slowly the first time you access them after clearing cache, you shouldn’t notice any other negative effect. The one caveat is that some web browsers allow you to delete lots of different files together and call it ‘browser data’ or similar. This may include cookies – files that contain details of site logins and shopping cart contents, among other things. If you delete cookies, you may find that you have been logged out of a site and have to log back in again, or that items you put in a shopping basket are no longer there. If the collection of files included in the option to clear browser data also includes history and auto-fill details, you might lose those too. So, always check what you’re going to delete before you clear browser data.

Cache vs cookies vs browsing history

There are several types of data you can clear to improve browser performance, privacy, or clear storage space. But the three main ones are cache, cookies, and browser history. The table below shows what each one does.

Type of data

What it stores

What deleting it does

What you lose when you delete

Cache

Images and other files from web pages you visit

May fix problems with pages not loading correctly and free up some space.

Speedy loading of pages, but only the first time you visit after deleting cache.

Cookies

Data of activity on a site, including shopping cart contents and logins

Removes details of site activity, which can protect privacy and fix glitches with web pages.

Any activity on a site in that session, such as shopping cart contents

History

A list of web pages you’ve visited

Removes the contents of the history menu

Details of web pages you’ve visited in the past



If you want to remove other browser data — as well as cache, including cookies, autofill details, and history — CleanMyMac’s Protection feature can do that for Safari, Chrome, and Firefox. It’s important to remember that deleting cookies will remove items from shopping baskets and sign you out of sites. In the case of Chrome and Firefox, deleting autofill data may also delete passwords. If you’re signed into a Chrome or Firefox account, however, your autofill data, passwords, and history are synced across devices, and so will repopulate.

CleanMyMac - Safari in Protection Manager

You can test CleanMyMac and all of its tools for free for 7 days — get your free trial here.

When to clear cache, and when it won’t help

The main reason to clear cache is if a web page is failing to load properly or doesn’t update to reflect the latest changes. It won’t help with general slowness or instability. The solution to that is more likely to be to update to the latest version of the browser.

Or, if you have lots of tabs open, to close them. That’s because open tabs update in the background, which uses memory and CPU cycles and can cause browsers to run slowly.

If you use Chrome and have lots of tabs open, Browser Care in CleanMyMac can help you manage them. It shows you all your open tabs in one searchable list, highlights those that are using the most resources, and allows you to pause them with a click, while keeping your logins and your place. It can also quickly close duplicate tabs while keeping the newest version open.

Browser Care in CleanMyMac

How to clear browser cache on your Mac

The process for clearing browser cache differs from browser to browser. You can find a full guide here.

  • In Safari, go to Settings > Privacy and choose Manage website data. Then, wait for it to load and either click Remove All or select items to delete and click Remove.
  • In Chrome and Firefox, go to Settings > Privacy & Security and choose options from there.
Safari Privacy settings dialog listing websites with stored cookies and data

Clearing browser cache removes the files web pages store on your Mac, such as images and stylesheets, and can help fix problems with pages that are slow to load or which load outdated content. Its only negative effect is that pages may load more slowly the first time after you clear cache. It’s not a catch-all fix, but it is worth trying if you experience those specific issues.

Frequently asked questions

Do I lose passwords when I empty browser cache?

Clearing browser cache on its own won’t delete passwords.

Do I lose bookmarks when I delete browser cache?

No. Deleting cache doesn’t get rid of bookmarks.

How often should I clear cache?

There’s no set frequency for clearing cache. You don’t need to do it regularly. Instead, use it as a troubleshooting tool when a web page fails to load, doesn’t load properly, or is very slow.

Will emptying browser cache make my Mac faster?

No, it won’t make your Mac run faster. Nor will it speed up your web browser. It should, however, fix problems with web pages that don’t load or don’t update content when they should.