How to Clean Browser Cache in Chrome, Safari, Firefox and Edge

Illustration for a guide on how to clean browser cache in Chrome, Safari, Firefox and Edge

A site looks broken. A page won’t show the update you know is there. A login keeps bouncing you back to the same error. Most of the time, the fix is to clear the files your browser saved. Here’s how to clean browser cache in Chrome, Safari, Firefox and Edge, on a computer or a phone, and when a quick hard refresh is all you need.

If you only do one thing, do this: clear cached images and files and leave cookies and saved passwords unchecked. That fixes most display problems and you won’t get signed out of anything. Most people are done in under a minute.

What the browser cache actually is

Every time you visit a site, your browser keeps copies of the pieces that make the page look and work right: images, layout files, little bits of code. Next time you visit, it loads those from your own device instead of downloading them again. That’s why sites you use a lot feel fast.

The problem shows up when a site changes and your browser keeps using the old copy. You get a half-updated layout, a button that does nothing, or a form error nobody else seems to get. Clearing the cache makes the browser grab fresh files.

People lump cache and cookies together, but they do different jobs:

  • Cached images and files are copies of page content. Deleting them won’t sign you out of anything. Pages just load a bit slower the first time afterward.
  • Cookies and site data remember who you are and your settings on each site. Deleting them signs you out of most sites and can reset things like a shopping cart.

For a display problem, clear the cache by itself. That’s the right call almost every time, and you skip the hassle of logging back in everywhere.

Quick checklist showing how to clean browser cache and hard reload a page

How to clean browser cache in each major browser

Menu labels shift a little between versions. If yours looks slightly different, pick the closest match.

One heads-up for school and work devices: an administrator can turn some of these options off. If the boxes are grayed out or missing, try the hard reload trick further down. If that doesn’t work, ask whoever manages the device.

Google Chrome on a computer

Google’s Chrome help page on clearing cache and cookies lays it out like this:

  1. Open Chrome and click the three-dot menu in the top right corner.
  2. Choose Delete browsing data (older versions say “Clear browsing data”).
  3. Pick a time range. “Last hour” works for a problem that just started. “All time” is the deep clean.
  4. Check Cached images and files. Uncheck cookies if you want to stay signed in.
  5. Click Delete data.

Shortcut: Ctrl+Shift+Delete opens the same window on Windows and Chromebooks. On a Mac it’s Cmd+Shift+Delete.

About sync. Google says that with sync on, you stay signed in to the Google account you sync with, so you can delete data across all your devices. Cached images and files live on the device itself, though. Sync matters more for history and other synced data, so check what’s ticked before you hit delete on a shared profile.

Chrome on Android and iPhone

Open Chrome, tap the three-dot menu, then Delete browsing data (on some versions it’s under History, or under Settings and then Privacy and security). Pick a time range, check Cached images and files, and tap Delete data.

Safari on iPhone and iPad

On iOS you do this from the Settings app, not inside Safari. Here’s Apple’s support guide for clearing Safari data on iPhone:

  1. Open Settings, tap Apps, then tap Safari.
  2. Tap Clear History and Website Data.
  3. Pick a timeframe and confirm.

That wipes your history along with the cache. Apple says it doesn’t change your AutoFill information.

Want to keep your history? Go to Settings, Apps, Safari, Advanced, Website Data, then Remove All Website Data. Expect to sign back in to websites afterward, since that data includes what sites use to remember your login. It doesn’t delete passwords you’ve saved in the Passwords app. If the button is gray, there’s either nothing to clear or a Screen Time content restriction is blocking it.

Phone short on space? Clearing Safari data helps a little, but it’s not the big win. Our guide on how to free up storage on iPhone covers the fixes that free up real room.

Safari on a Mac

The simple built-in route is Safari > Clear History, then pick a time range. That removes history, cookies and cached data together, so you’ll be signed out of sites. If you only want the cache, turn on Safari’s developer features in Safari’s settings (Advanced tab), then use Empty Caches in the Develop menu.

Mozilla Firefox

Mozilla’s page on how to clear the Firefox cache gives these steps:

  1. Click the menu button and choose Settings.
  2. Select Privacy & Security.
  3. In the Cookies and Site Data section, click Clear browsing data.
  4. Set the time range to Everything.
  5. Leave only Temporary cached files and pages checked.
  6. Click Clear, then close the Settings tab.

Microsoft Edge

Microsoft’s guide to viewing and deleting browser history in Edge goes like this:

  1. Open Settings and more (the three dots), then Settings.
  2. Go to Privacy, search, and services.
  3. Under Clear browsing data, select Choose what to clear.
  4. Pick a time range and check Cached images and files.
  5. Select Clear now.

Microsoft notes that cached images and files are stored only on your device. If sync is on, clearing other types of data can affect your other synced devices, so turn sync off first if you want the change to stay on one machine.

Hard clear cache in Chrome for one stubborn page

Sometimes one site is acting up and you don’t want to wipe everything. I’d start here. A hard reload tells the browser to skip its saved copy of the page you’re on and fetch it fresh.

  • Windows, Linux and Chromebook: press Ctrl+Shift+R, or Ctrl+F5.
  • Mac: press Cmd+Shift+R.

Still broken? Chrome has a stronger version that people call a hard clear cache:

  1. Open the page that’s misbehaving.
  2. Open Developer Tools with F12, or Ctrl+Shift+I (Cmd+Option+I on a Mac).
  3. With the tools panel open, right-click the reload button next to the address bar.
  4. Choose Empty Cache and Hard Reload.

That dumps the cached files for that page and reloads it in one go. Great for when a school portal or online shop keeps loading an old layout. Edge has the same menu since it’s built on the same engine.

One catch if you run a website: clearing your own cache only changes what you see. If your site or host has its own caching, visitors can keep getting the old version until that cache is cleared too.

How to automatically clear cache in Chrome and other browsers

Share a computer, or just don’t want data piling up? You can have the browser clean up after you.

Chrome. There’s no single switch that empties cached images every time Chrome closes. The closest built-in setting is in Settings, Privacy and security, Site settings, under the on-device site data options: you can have Chrome delete data sites saved to your device when you close all windows. That covers cookies and site data, the stuff that keeps you signed in, not the image cache. The other option is Incognito mode. Anything cached in an Incognito session gets tossed when you close all Incognito windows, so it’s a good fit for quick browsing on a shared machine.

Edge. Edge does have a clear-on-close option. Go to Settings, then Privacy, search, and services, find Clear browsing data, and select Choose what to clear every time you close the browser. Switch on the types of data you want gone each time.

Firefox. Firefox has a true automatic option too. Per Mozilla: open Settings, choose Privacy & Security, and go to the History section. Next to “Firefox will,” choose Use custom settings for history, then check Clear history when Firefox closes. Click the Settings button beside it, make sure Temporary cached files and pages is checked, uncheck anything you want to keep, and save.

Safari. Private Browsing windows don’t keep cache or history after you close them. That’s the easiest hands-off option on an iPhone or Mac.

There’s a tradeoff. Sites load slower every time you open the browser because everything downloads fresh, and if you include cookies you’ll be signing in all day. For most people, clearing the cache when something breaks is the better habit. Skip the automatic setup unless you share the device.

When clearing the cache actually helps

It’s worth a try when:

  • A site’s layout looks scrambled, or images are missing.
  • You’re seeing an old version of a page you know has changed.
  • A login page loops or throws an error that doesn’t happen on another device.
  • A web app (school portal, bank site, email) stops responding to clicks.
  • Your browser feels sluggish and its stored data has grown big over months.

It won’t fix a slow connection, a site that’s down for everyone, or trouble caused by extensions. For extensions, open the site in an Incognito or Private window, where most extensions are off by default. If the site works there, an extension is probably the culprit.

A quick safety checklist before you clear everything

Before you pick “All time” and check every box, run through this:

  1. Know your passwords. Clearing cookies signs you out. Make sure you can get back in to email, banking and school accounts. A password manager makes that painless, and our guide on how to make a strong password helps if your current ones are weak.
  2. Leave saved passwords and autofill unchecked unless you really want them gone. Most browsers list them as separate boxes.
  3. Finish open forms and carts. Clearing site data can empty a cart or lose a half-written post.
  4. Think about sync. Clearing synced data like history can reach your other signed-in devices.
  5. Start small. Try a hard reload or “Last hour” first. Go bigger only if the problem sticks around.

FAQ

Will clearing my cache delete my passwords?

No, not unless you also check the box for saved passwords. Clearing cached images and files only removes copies of web content. Clearing cookies signs you out of sites, but your saved passwords stay put unless you choose to delete them too.

How often should I clear my browser cache?

There’s no need to do it on a schedule. Clear it when a site misbehaves or your browser’s storage gets large. Clearing it too often just makes pages load slower because they have to download everything again.

Is clearing cache the same as clearing history?

No. History is the list of pages you’ve visited. Cache is the stored files that make those pages load faster. Most browsers let you clear either one on its own, though Safari’s main “Clear History” option removes both together.

Does clearing cache speed up my computer?

Not much. It can free some disk space and fix glitchy sites, but it won’t make your whole computer faster. On a phone that’s nearly full, it’s a small help. Backing up and removing old photos usually frees far more room, and our guide to backing up phone photos shows how to do that safely first.

The short version

Learning how to clean browser cache takes a minute and fixes a lot of “this site is broken” moments. Hard reload first for one page. Clear cached images and files when that’s not enough. Only wipe cookies when you actually want a fresh start, and set up automatic clearing only if you share a device or like the extra privacy.

Leave a comment