The cache is the set of page parts your browser saves so sites load faster next time. Usually that helps. Sometimes the browser keeps showing an old copy of a page, and then clearing the cache fixes it. This guide shows the exact steps for Chrome, Edge, Firefox and Safari on computers, iPhone and Android, and explains what gets deleted and what does not.
What the cache is, and what it is not
When you open a page, your browser downloads images, style sheets and scripts. It keeps copies on your device so it does not have to download them again on your next visit. Google describes it the same way for Chrome: the browser remembers parts of pages so they open faster the next time. Edge, Firefox and Safari work the same way.
People mix up three different things, and the difference decides what you should delete.
| Data | What it is | If you delete it |
|---|---|---|
| Cache | Saved copies of images, files and page parts | Pages load a bit slower once. You stay logged in. |
| Cookies and site data | Small files and storage that sites use to remember you, such as logins, carts and preferences | You may be logged out and lose site settings. |
| History | The list of pages you visited | The pages disappear from your history and address bar suggestions. In Chrome, open tabs close too. |
Saved passwords and autofill data are separate options again. In every browser below, you can leave them unticked.
When clearing the cache helps, and when it does not
Clear it when:
- A page looks broken, with missing images, odd layout or buttons that do nothing.
- A site you own or follow has changed, but you still see the old version.
- Google suggests it, for example to fix loading or formatting problems, or to see the latest version of a site.
- You want to free up some storage on a phone.
It will not help when:
- The site itself is down or showing an error such as a 500 or 503. That is a server problem.
- Your internet connection is slow or unstable.
- The old content comes from the site's own server-side or CDN cache. Only the site owner can clear that.
- You cannot log in. That is usually a cookie, password or account issue, not a cache issue.
Try a hard reload first
A hard reload fetches the current page again and ignores the saved copy. It clears nothing else, so it costs you nothing.
| Browser | Windows / Linux | Mac |
|---|---|---|
| Chrome | Ctrl + Shift + R or Shift + F5 | Cmd + Shift + R |
| Edge | Ctrl + Shift + R or Ctrl + F5 | Cmd + Shift + R |
| Firefox | Ctrl + Shift + R or Ctrl + F5 | Cmd + Shift + R |
Phones have no keyboard shortcut for this. On a phone you need to clear the data through the settings below. More shortcuts like these are in our Chrome keyboard shortcuts guide.
Quick overview: where to find it
| Browser | Path | Shortcut |
|---|---|---|
| Chrome (computer) | Three-dot menu > Delete browsing data | Ctrl + Shift + Delete, Cmd + Shift + Delete on Mac |
| Chrome (Android) | Three-dot menu > Delete browsing data | - |
| Edge | Settings and more > Settings > Privacy, search, and services > Clear browsing data now | Ctrl + Shift + Delete |
| Firefox | Settings > Privacy & Security > Cookies and Site Data > Clear Data | Ctrl + Shift + Delete |
| Safari (Mac) | Safari > Settings > Privacy > Manage Website Data, or Develop > Empty Caches | - |
| Safari (iPhone) | Settings > Apps > Safari > Clear History and Website Data | - |
How to clear the cache in Chrome
On a computer
- Open Chrome and click the three-dot menu at the top right, then choose Delete browsing data. You can also press Ctrl + Shift + Delete (Cmd + Shift + Delete on a Mac).
- Choose a time range.
- Tick Cached images and files. Untick browsing history and cookies and other site data if you want to keep them.
- Click Delete data.
On Android
- Open Chrome and tap the three-dot menu next to the address bar, then tap Delete browsing data.
- Choose how far back to delete. The default is 15 minutes, so pick a longer period if the old version has been there a while.
- Tap More options, select Cached images and files and deselect the rest if you want to keep them.
- Tap Delete data.
How to clear the cache in Microsoft Edge
- Select Settings and more (the three dots), then Settings > Privacy, search, and services.
- Next to Clear browsing data now, select Choose what to clear. Ctrl + Shift + Delete opens the same dialog.
- Under Time range, pick a range from the list.
- Tick Cached images and files. Leave the other types unticked to keep them.
- Select Clear now.
Microsoft notes that if you have sync turned on, clearing data can apply across your synced devices. To clear only this device, turn sync off first. Cached images and files are stored on your device, so they are not the part that syncs.
How to clear the cache in Firefox
- Open the menu and choose Settings.
- Select Privacy & Security on the left and go to Cookies and Site Data.
- Click Clear Data.
- Untick Cookies and Site Data if you want to stay logged in, and tick Cached Web Content.
- Click Clear.
Ctrl + Shift + Delete (Cmd + Shift + Delete on a Mac) opens the Clear History dialog, where you can also choose cache and a time range. In Mozilla's help article on clearing cookies and site data, Cookies and Site Data removes login status and site preferences, while Cached Web Content removes stored images, scripts and other cached content. That is why you should untick the first option if you only want the cache gone.
How to clear the cache in Safari
On a Mac
Safari does not have a cache-only option in the normal privacy settings. You have two choices.
- Manage website data: Open Safari, choose Settings > Privacy, click Manage Website Data, select one or more sites and click Remove, or click Remove All. Apple warns this may sign you out of websites or change how they behave, and may affect that data in other apps.
- Empty Caches: Turn on the Develop menu under Safari > Settings > Advanced by selecting Show features for web developers. Then choose Develop > Empty Caches. This removes cached files without clearing your history or logins.
To clear history as well, choose History > Clear History and pick a time range.
On iPhone and iPad
- Open Settings, tap Apps, then tap Safari.
- Scroll down and tap Clear History and Website Data.
- Choose a time range and tap Clear History.
This also deletes your history. It does not remove AutoFill information. To remove cookies and website data but keep your history, go to Settings > Apps > Safari > Advanced > Website Data, tap Remove All Website Data and then Remove Now. If the button is greyed out, there is either nothing to clear or Screen Time web content restrictions are blocking it. Apple's steps are in its guide to clearing Safari history and website data on iPhone.
Clear the cache for one site only (Chrome DevTools)
If one site is the problem, you do not need to clear everything. Chrome's developer tools can do a stronger reload for a single page.
- Press F12 (Ctrl + Shift + J also works on Windows and Linux, Cmd + Option + I on a Mac) to open DevTools.
- With DevTools open, press and hold the reload button next to the address bar, or right-click it.
- Choose Empty Cache and Hard Reload.
The reload menu only appears while DevTools is open. For a permanent setting while you work, open the Network panel and tick Disable cache. The cache is bypassed for as long as DevTools stays open.
To remove everything a single site has stored, open DevTools, go to Application > Storage and click Clear site data. Note that this clears the site's stored data and Cache Storage, and that it is aimed at web developers. Because it can include cookies and logins for that site, expect to be logged out of it.
What you lose, and what you keep
After clearing the cache, the next visit to each site is a little slower because images and files download again. Nothing personal is lost. You stay logged in, and your bookmarks, passwords and history stay as they were, provided you left those options unticked.
Logouts and lost preferences come from clearing cookies and site data. If you ticked those, expect to sign in again on most sites and to reset things like language or theme choices.
If the old version is still there
- Check the time range. On Android Chrome the default of 15 minutes will miss older cached files.
- Open the page in a private window or a different browser. If it looks right there, your browser still holds the old copy.
- Try another device or network. If that also shows the old version, the cache is on the site's server or CDN, and only the site owner can clear it.
- Restart the browser and try again.
If your browser misbehaves in other ways too, resetting it may be the next step.
Frequently asked questions
Will clearing the cache log me out of websites?
No. Logins are kept in cookies, not in the cache. Only tick the cached images and files option and you stay signed in.
What is the difference between cache and cookies?
The cache stores copies of page parts such as images to speed up loading. Cookies store information about you and your session, such as a login or a shopping cart.
How often should I clear my cache?
You do not need to do it on a schedule. Clear it when a site looks wrong or shows old content, or when you need storage space on a phone.
Does a hard reload clear the cache?
It ignores the cache for that one page and loads fresh files. It does not empty the whole cache.
Is it safe to clear the cache?
Yes. The cache only holds copies that the browser can download again. The only cost is slightly slower loading on your next visit to each site.
