What cache is and why deleting it matters

Your browser's cache is a folder on your computer where your browser stores copies of images, videos, and code from websites you visit. The next time you visit that site, your browser loads these stored copies instead of downloading them again — which makes pages load faster. That's useful for you, but it also means your browser is keeping a record of where you've been.

Deleting your cache removes this stored data. You might want to do this if you're concerned about what information sits on your computer, if a website isn't loading correctly and you suspect stale cached data is the problem, or if you're sharing a computer and don't want the next person to see which sites you visited. Clearing cache won't slow down your browsing noticeably — sites will just take a few seconds longer to load the first time you visit them after clearing.

Key Takeaways

  • Cache is stored website data on your computer that makes pages load faster, but it also creates a record of your browsing.
  • Each browser — Chrome, Firefox, Safari, Edge — has its own cache location and its own menu for clearing it.
  • You can delete cache from a specific time range (last hour, last day, all time) rather than clearing everything at once.
  • Clearing cache won't delete your saved passwords or login information unless you specifically choose to clear those too.
  • You can set most browsers to clear cache automatically every time you close them.

How to clear cache in Chrome

Open Chrome and press Ctrl + Shift + Delete on Windows, or Command + Shift + Delete on Mac. This opens the "Clear browsing data" window directly. At the top, you'll see a dropdown that says "All time" — click it to choose how far back you want to clear (last hour, last 24 hours, last 7 days, last 4 weeks, or all time).

Make sure the box next to "Cached images and files" is checked. You'll see other boxes too — "Cookies and other site data", "Download history", "Browsing history". Leave these unchecked unless you want to delete them as well. Then click the blue "Clear data" button at the bottom right. Chrome will clear your cache in a few seconds and the window will close.

How to clear cache in Firefox

Open Firefox and press Ctrl + Shift + Delete on Windows, or Command + Shift + Delete on Mac. This opens the "Clear Recent History" window. At the top, click the "Time range to clear" dropdown and choose how far back you want to go.

In the list below, you'll see "Cache" as one option. Make sure it's checked. Other options like "Cookies", "Browsing & Download History", and "Site Preferences" will also be listed — uncheck these unless you want to delete them too. Click the blue "Clear Now" button. Firefox will clear your cache immediately.

How to clear cache in Safari

Safari doesn't have a keyboard shortcut for this, so you'll use the menu instead. Click "Safari" in the top menu bar, then scroll down and click "Clear History". A window will pop up asking "Clear history from" — use the dropdown to choose the time range (the last hour, today, today and yesterday, or all history).

Click the blue "Clear History" button. Note that Safari's "Clear History" function clears both your browsing history and your cache together — you can't clear one without the other. If you want to clear cache without clearing your browsing history, you'll need to use Safari's settings instead: go to Safari menu > Settings > Privacy, then click "Manage Website Data" and select "Remove All".

How to clear cache in Microsoft Edge

Open Edge and press Ctrl + Shift + Delete on Windows. This opens the "Clear browsing data" window. At the top, use the "Time range" dropdown to choose how far back to clear.

Make sure "Cached images and files" is checked. Other options like "Cookies and other site data", "Download history", and "Browsing history" will also appear — uncheck these unless you want to delete them. Click the blue "Clear now" button at the bottom right.

Set your browser to clear cache automatically

If you want your cache cleared every time you close your browser, you can turn this on in settings. In Chrome: go to Settings > Privacy and security > Clear browsing data, then check "Clear cookies and other site data when you quit Chrome". In Firefox: go to Settings > Privacy & Security, scroll to "Cookies and Site Data", and check "Delete cookies and site data when Firefox is closed". In Safari: go to Settings > Privacy and check "Remove all website data when quitting Safari". In Edge: go to Settings > Privacy, search, and services, then toggle on "Clear browsing data" under "Clear browsing data".

This setting means you'll start fresh each session, but it also means websites will load slightly slower the first time you visit them after you restart your browser. It's a reasonable trade-off if privacy matters more to you than speed.

What clearing cache does and doesn't do

Clearing cache removes stored website files from your computer, but it doesn't erase your browsing history — that's a separate thing. It also doesn't delete your saved passwords, usernames, or autofill information unless you specifically check those boxes when clearing. If you want to delete those too, you can, but most people don't need to.

Clearing cache also won't log you out of websites automatically, though some sites may ask you to log in again the next time you visit because they can't find the stored session data. This is normal and not a problem.

Frequently Asked Questions

Will clearing cache delete my saved passwords?

No. Cache and passwords are stored separately. When you clear cache, you'll see a checkbox for "Cookies and other site data" or "Passwords" — these are unchecked by default. Your passwords stay unless you specifically check that box and clear them too.

Why is a website not loading correctly after I cleared my cache?

Sometimes a website's code has a bug, and the old cached version worked better. Try clearing your cache again, then close and reopen your browser completely. If the problem persists, try a different browser to see if it's specific to one browser or a problem with the website itself.

Does clearing cache speed up my computer?

Cache takes up disk space, but usually not much — most people's cache is between 100 MB and 1 GB. Clearing it might free up a small amount of space, but it won't noticeably speed up your computer's overall performance. The main reason to clear cache is privacy, not speed.

Can I clear cache for just one website instead of all websites?

Yes. In Chrome, Firefox, and Edge, you can right-click on any website and choose "Delete" or "Forget About This Site" to remove just that site's cached data. In Safari, go to Settings > Privacy, click "Manage Website Data", find the site in the list, and click "Remove".

What's the difference between cache and cookies?

Cache stores images and code to make pages load faster. Cookies store small pieces of information like login sessions and preferences. They're separate, and you can clear one without clearing the other — though most browsers let you clear both at once if you want to.