Cache and cookies in plain words
- Cache: copies of parts of web pages, such as images and scripts, kept on your device so a site opens faster next time.1,5
- Cookies: small files that websites save in your browser — for example to keep you signed in or remember what's in your basket.1,7 Our explainer What Is a Cookie on a Website? goes into more detail.
Why clear them?
Clearing them is a common fix when:
- a site won't load, or looks broken or out of date;1,5
- you want to make sure you're seeing the newest version of a page;1
- you want to free up storage space on your device;1,7
- you want to remove cookies that track you for advertising.7
What you lose when you clear them
Before you start
- You'll be signed out of most websites, so make sure you know your passwords (a password manager helps).1
- Sites may feel a little slower the first time, because images and other files have to download again.1
- Saved site settings, such as preferences on that site, can be removed.1
Clearing is generally harmless, and AARP suggests doing it every month or two, or more often if your device feels slow.7 If only one site is misbehaving, clear data for that site rather than everything.
Google Chrome (computer)
Shortcut: type "Delete browsing data" in Chrome's address bar and pick the suggested action.1 If Chrome sync is on, you stay signed in to your Google Account in Chrome even after clearing cookies.1 Google's help page has separate tabs with steps for Chrome on Android and iPhone.1
Safari on iPhone
Open Settings > Apps > Safari.2
To clear everything: tap Clear History and Website Data, choose a time frame and confirm with Clear History. Your AutoFill details are kept.2
To keep your history but clear cookies and cache: go to Advanced > Website Data and tap Remove All Website Data, then Remove Now.2
If the clear button is greyed out, either there's nothing to clear or Screen Time web restrictions are switched on.2
Safari on Mac
This removes your history, recent searches, the record of downloads (not the files themselves) and the list of sites that asked to use your location or send notifications. If you sync Safari through iCloud, it also clears that history on your other Apple devices.3 Apple keeps cookie-only controls on a separate page of its Safari guide.3
Firefox (computer)
To clear only the cache and stay signed in, untick Cookies and site data and leave only the cached files option ticked.5 Firefox can also clear the cache automatically every time you close it: under History, choose Use custom settings for history, tick Clear history when Firefox closes, open Settings… and tick Temporary cached files and pages.5
Microsoft Edge (computer)
If Edge sync is on, clearing applies to all your synced devices; with sync off, it affects only the one you're using.6
Clear data for just one site
- Firefox: on the site, click the padlock or shield icon to the left of the address and choose Clear Cookies and Site data.4 To pick any site, go to Settings > Privacy & Security > Cookies and Site Data > Manage Data…, search for it and remove it.4
- Chrome: Google points to Chrome's cookie settings for deleting one site's cookies.1
- Safari on iPhone: to remove a site from your history, open Safari's History, tap More > Select Websites, choose the sites and tap the bin.2
If one site keeps showing “redirected you too many times”, clearing that site's data is usually the fix, as our guide to the ERR_TOO_MANY_REDIRECTS error explains.
Common mistakes
- Ticking "Passwords" by accident. Edge lists saved passwords and autofill data in the same menu as cookies; leave them unticked unless you mean to delete them.6
- Clearing everything for one broken site. Clearing a single site keeps you signed in everywhere else.4
- Blocking all cookies instead. Safari's Block All Cookies setting can stop sign-ins from working and make some sites show "cookies required" messages.2
Common questions
Will clearing cookies delete my saved passwords?
Not unless you choose to. In Edge, passwords are a separate box you can leave unticked, and clearing Safari's history on iPhone keeps AutoFill.6,2
Does clearing my history delete what websites know about me?
No. It only clears what's stored in your browser; history kept by the websites themselves isn't affected.3
Related guides
- What Is a Cookie on a Website?: what cookies do and why sites ask about them.
- 10 Tips to Make Your Web Browser Faster and Safer: more fixes for a sluggish browser.
- What Does Private Browsing Actually Hide?: what incognito mode keeps and forgets.
