32 mins read

How Do I Clear My Cache and Cookies?

Published December 3, 2026  |  Last reviewed December 3, 2026

To clear your cache and cookies, open your browser’s Delete browsing data window. In Chrome, Edge and Firefox that is Ctrl+Shift+Delete on Windows and Cmd+Shift+Delete on a Mac. Tick Cached images and files and Cookies and other site data, pick a time range, and confirm. Leave the password box alone.

Expect to sign in again on most sites. If only one website is misbehaving, clear the data for that site and nothing else. Menus differ by browser, so below I give separate steps for Chrome, Firefox, Edge, Safari, iPhone and Android.

Let me say something upfront. Clearing the cache is one of the most overused fixes on the internet. It works for a specific set of problems, and I will show you which ones, so you do not wipe your logins for nothing.

I work for a hosting company, and this question lands in front of me constantly. Most of this guide is about your browser, not any server. I will also tell you when the problem is not on your side at all, because that is the part most guides skip.

What Are Browser Cache and Cookies and Why Should You Clear Them?

The browser cache is a folder of website files, such as images, stylesheets and scripts, that your browser saves so pages load faster next time. Cookies are small text files that websites store to remember you, for example to keep you logged in. You should clear them when a site loads wrongly, shows an old version after an update, or keeps failing to log you in. Outside those cases, leave them alone.

The browser cache stores website files so pages load faster

The first time you visit a site, your browser downloads everything the page needs. The logo, the colors file, the scripts that run the menu. It keeps a copy of each file on your device.

Next visit, it reuses those copies instead of downloading them again. That is why a site you open every day feels quicker than one you have never seen.

Every file arrives with a rule from the server about how long to keep it. A common rule is max-age=86400, which means 24 hours. Until that time runs out, your browser may not even ask the server whether the file changed.

That one detail explains most “old version” problems. Your browser is not broken. It is following instructions. Also note that each browser keeps its own cache, so clearing Chrome does nothing for Firefox.

Cookies remember login sessions and website preferences

When you log in to a site, the server hands your browser a small identifier, often called a session cookie. Your browser sends it back with every page request, and that is how the site knows you are still you. Delete it and the site has no idea who you are, so it asks you to log in again.

Some cookies last only until you close the browser. Others, called persistent cookies, stay for days or months. That is what powers the “remember me” box.

Cookies also hold small preferences. Your language, a dark mode choice, the answer you gave on a cookie banner. Sites that set their own cookies are called first party. The ones set by ads and trackers from other companies are third party, and those are what privacy tools usually block.

Cache, cookies and browsing history are three different things

People mix these up, and the mix up leads to deleting the wrong thing. The cache is saved website files. Cookies are small notes about you. Browsing history is just a list of addresses you visited.

Clearing history will not fix a page that loads wrongly. Clearing the cache will not log you out. Chrome puts all of them in one window, which is why I tell beginners to tick only two boxes: cached images and files, and cookies and other site data.

Saved passwords and autofill sit in separate boxes on the Advanced tab. You do not need them for troubleshooting, so leave them unticked.

Outdated cached data causes a familiar set of problems

The classic one is a page that looks broken after a site update. The browser kept the old stylesheet but received the new page, so the two no longer match. Buttons overlap, images vanish, and the layout falls apart.

Another is the site that shows yesterday’s content. A site owner changes a price or a logo, checks the page, and sees the old one. They assume the change failed. In my experience, most “my site did not update” reports turn out to be a cache somewhere, and the very first place I look is the owner’s own browser.

Cookies cause their own trouble. A stale login cookie can trap you in a loop where you sign in and land back on the sign in page. Two real error messages are worth knowing. ERR_TOO_MANY_REDIRECTS in Chrome and “400 Bad Request, Request Header Or Cookie Too Large” on many servers are both often cured by deleting cookies for that one site.

Clearing is only necessary in a few specific situations

Here is my rule. Clear when a site looks broken or old, when login keeps failing, or when you see a cookie or redirect error. Also clear when the same site works on your phone but not your laptop, because that points at your browser.

Do not clear on a schedule, and do not clear to “speed up” your computer. Google’s own help page says some sites can seem slower afterward because images and files have to load again. A full cache usually makes browsing faster, not slower.

One honest limit. If a website is actually down, or the server is serving the wrong thing, clearing your browser changes nothing. I cover how to tell the difference in the last part of this guide.

How Do You Clear Cache and Cookies in Google Chrome?

In Chrome, press Ctrl+Shift+Delete on Windows or Cmd+Shift+Delete on a Mac, choose a time range, tick Cookies and other site data and Cached images and files, then click Delete data. You can also type chrome://settings/clearBrowserData into the address bar. Leave passwords unticked unless you truly want them gone.

The Delete browsing data window opens from the menu or a shortcut

Here are the steps on a computer:

  1. Open Chrome.
  2. Click the three dots in the top right corner.
  3. Click Delete browsing data. On older versions the label reads Clear browsing data.
  4. Or skip the menu and press Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac).

Another trick from Google’s help page: type “Delete browsing data” into the address bar and click the action button that appears. Menu names move around between Chrome versions, so if you cannot find it, the shortcut is the most reliable route.

Two checkboxes matter most: cached images and files, and cookies

The window has a Basic tab and an Advanced tab. On Basic you see Browsing history, Cookies and other site data and Cached images and files. For troubleshooting, tick the last two.

Advanced adds Download history, Passwords and other sign in data, Autofill form data, Site settings and Hosted app data. I leave all of those unticked. Deleting passwords is the one mistake you cannot undo with a single click, and it is the box most people regret.

Cached images and files fixes layout and “old version” problems. Cookies and other site data fixes login loops and cookie errors. If you only need one, tick only that one.

The time range decides how much gets deleted

The dropdown at the top offers choices such as last hour, last 24 hours, last 7 days, last 4 weeks and all time. Chrome only deletes data from inside that window.

This is the most common reason people say clearing did not work. They left it on a short range, and the stale file was saved weeks ago. Google notes that on some mobile versions the default is as short as 15 minutes.

My habit is simple. Pick the shortest range that covers when the problem started. If you are not sure, choose all time for the one problem site, not for everything.

Desktop and mobile Chrome use slightly different menus

On Android:

  1. Open the Chrome app.
  2. Tap the three dots, then tap Delete browsing data. On some versions it sits under History or reads Clear browsing data.
  3. Choose a Time range.
  4. Tick Cookies and site data and Cached images and files.
  5. Tap Delete data.

On iPhone or iPad, open Chrome, tap the three dots, tap Delete browsing data, choose a time range, tap Browsing data, select the types, tap Confirm, then tap Delete browsing data. Google’s page notes that saved passwords are deleted from a separate screen on iPhone, so you will not wipe them by accident.

If you are signed in to Chrome with sync on, deleting some data types can remove them from your other devices and your Google Account too, as Google explains. Deleting cookies while signed in to Chrome will not sign you out of your Google Account.

One website can be cleaned without touching the rest

This is the move I recommend first. On a computer, open Chrome settings, search for “site data”, and open the page that lists all site data and permissions. Find the website, then click the trash can beside it. Search boxes inside settings are safer than memorizing a menu path, because the path changes.

On Android, go to Chrome settings, then Site settings, then All sites, pick the site and tap Clear and reset.

There is also a developer shortcut. Press F12 to open the developer tools, right click the reload button, and choose Empty Cache and Hard Reload. That only works while the tools are open, and it only touches the current site.

How Do You Clear Cache and Cookies in Other Browsers?

The idea is the same everywhere, but the menu names change. Firefox and Edge also open their clearing window with Ctrl+Shift+Delete, or Cmd+Shift+Delete on a Mac. Safari on a Mac uses Settings, Privacy, then Manage Website Data.

Safari on iPhone uses Settings, Apps, Safari, then Clear History and Website Data. Android clears data inside each browser app.

Firefox keeps both options under Privacy and Security

  1. Open Firefox and click the menu button (three lines) in the top right.
  2. Click Settings, then Privacy & Security.
  3. Scroll to Cookies and Site Data and click Clear Data.
  4. Tick Cookies and Site Data and Cached Web Content.
  5. Click Clear, then close and reopen Firefox.

Firefox also has a Manage Data button in the same place. It lists every site that stored something, so you can remove just one. On a phone, Firefox for Android uses menu, Settings, then Delete browsing data. Firefox on iPhone uses menu, Settings, then Data Management, with a switch for each type.

A small advantage here: Firefox labels the cache “Cached Web Content,” which is a clearer name than most browsers use.

Microsoft Edge follows nearly the same path as Chrome

Edge is built on the same engine as Chrome, so the window looks familiar. You can jump straight to it by typing edge://settings/clearBrowserData in the address bar.

  1. Open Edge and click the three dots in the top right.
  2. Click Settings, then Privacy, search, and services.
  3. Under Clear browsing data, click Choose what to clear.
  4. Pick a Time range, then tick Cookies and other site data and Cached images and files.
  5. Click Clear now.

In the Edge phone app, tap the menu, then Settings, Privacy and security, then Clear browsing data. For one site only, look under cookies and site permissions in Settings, where Edge lists every site with stored data.

Safari on a Mac hides the cache option in the Develop menu

Safari handles cookies and cache together by default, which surprises people. On a Mac, click Safari in the menu bar, then Settings, then the Privacy tab, then Manage Website Data. Click Remove All and then Remove Now, or select individual sites to remove only those.

If you want to empty only the cache, you need the Develop menu. Turn it on in Safari’s Advanced settings, then choose Develop, then Empty Caches. The keyboard shortcut is Option+Command+E.

One thing I like about Safari: your saved passwords live in a separate place, so removing website data does not delete them. You will still be signed out of websites.

Safari on iPhone and iPad clears history and website data together

Apple’s own page gives the path. Go to Settings, tap Apps, tap Safari, scroll down and tap Clear History and Website Data. Pick a time frame and confirm. On older versions of iOS, Safari sits directly in the main Settings list.

If you want to keep your history, go to Settings, Apps, Safari, then Advanced, then Website Data, and tap Remove All Website Data. Confirm with Remove Now.

One warning. In that same Advanced area is a switch called Block All Cookies. Apple notes that turning it on removes existing data and that some pages stop working. Unless you mean to block cookies for good, leave it off.

Android phones clear data inside whichever browser app you use

Chrome is covered above. In Samsung Internet, open the menu and choose the option to delete browsing data, then tick cookies and cached files. In Firefox for Android, use menu, Settings, then Delete browsing data.

There is also a system level method. Open Android Settings, then Apps, find your browser, tap Storage, and tap Clear cache. That clears the cache only.

Do not tap Clear storage or Clear data unless you want the app reset. That wipes logins, settings and everything the app stored. I have watched people tap it hoping for a gentle cache clear and then spend an hour signing back in.

What Happens When You Clear Cache and Cookies?

You will be signed out of most websites, some site preferences will reset, and the next few page loads will be a little slower while your browser downloads files again. Bookmarks, saved passwords and autofill stay put unless you ticked those boxes. Nothing breaks. It is a reset of temporary data.

Most websites will sign you out

Login sessions live in cookies, so deleting cookies ends them. You will see the sign in page again on banking, email, shopping and social sites. Google’s help page warns that clearing can also sign you out of your Google Account in some cases, and suggests updating your recovery phone and email first.

Here is the part that catches people. Many sites also store a “trust this device” cookie for two factor authentication. Delete it and the site asks for a fresh code, and some people discover they set up their authenticator app on an old phone.

Before I clear all cookies, I check that I know my password and my second factor for the sites I care about. It takes a minute and avoids a lockout.

Images, scripts and other files download again

With the cache empty, your browser has no saved copies. On your next visit to each site it fetches the logo, stylesheets and scripts from scratch, then saves them again.

This is why the fix works. If the old stylesheet was the problem, the browser now downloads the current one. You get the version the server has right now.

Nothing is lost. The files exist on the website’s server. You are just asking for them again.

Large sites make this visible. A news site or a shop can pull hundreds of small files for one page. After a clear, you may see images pop in one by one on the first visit, then everything behaves normally.

The first visit to each site can feel slower

Expect a slightly slower first load on sites you visit often. Think of it as the cost of the fix. A heavy page with many images might take a second or two longer once, and then speed returns to normal.

On a slow mobile connection the difference is easier to notice. If you are on a limited data plan, remember that you are about to re download everything. Clear one site rather than all of them if data is tight.

I would not repeat this every week. Constant clearing means constant re downloading, which is the opposite of what a cache is for.

Saved passwords and autofill stay put unless you tick them

These are stored separately from cookies and cache. In Chrome they appear on the Advanced tab as Passwords and other sign in data and Autofill form data. If you do not tick them, they are not touched.

My instinct is to avoid deleting passwords at all while troubleshooting. If you do want to remove one, delete that single entry from your password manager or browser settings instead of the whole list. Bookmarks and extensions are also unaffected.

One detail on syncing. If you sync with Chrome, deleting passwords removes them from your Google Account and your other devices too, according to Google. That is why I never tick that box casually.

Anything a site remembered in a cookie goes back to default. Your language choice, dark mode, items in a guest shopping cart, and the answer you gave on a cookie banner.

You will see the banner again on every site. Pick the same choice and move on. Some sites keep your cart on their server if you were logged in, and others lose it, so do not clear cookies in the middle of a purchase.

Accessibility settings that a site stores in a cookie, such as larger text, also reset. If someone in your home relies on those, set them again after clearing.

Should You Clear Cache and Cookies for All Websites or Just One?

Clear one website first. It fixes most problems and keeps the rest of your logins. Clear everything only when several sites misbehave at once, or when you are about to hand a shared computer to someone else. As a rule, narrow beats broad.

The problem website is usually easy to spot

Ask a simple question. Is it one site, or is everything acting up? If only your company dashboard shows old data and every other site is fine, the trouble is local to that site’s stored files or cookies.

A quick test settles it. Open the same address in a private window or on your phone. If it looks right there, your browser holds a stale copy of that one site.

If every site is slow or odd, clearing the cache will rarely help. Look at your connection, your extensions or your device instead.

Write down what you see before you clear anything. A quick note like “price shows 19 dollars, should be 24” lets you confirm afterward that the fix worked, instead of just assuming it did.

Stored data for a single site can be removed on its own

Every major browser lets you do this. In Chrome, search the settings for site data. In Firefox, use Manage Data under Cookies and Site Data. In Edge, open cookies and site permissions.

In Safari on a Mac, use Manage Website Data and select the site. On iPhone, use Settings, Apps, Safari, Advanced, Website Data and swipe or edit the one entry.

Type the site’s domain into the search box in those lists, and remember that big sites may have several entries, like the main domain and a login domain. Remove all of them for that company.

Do the single site clear, reload, and test again. If the page is still wrong, you have lost nothing, and you have ruled out the most likely cause in about a minute.

Clearing everything makes sense in a few cases

Three cases justify the broad clear. Several unrelated sites misbehave together. You are handing over or selling a device. Or you have tried the narrow fix and the problem returned.

On a shared or public computer, clear everything and also sign out of accounts first. Clearing cookies is not a substitute for signing out of sensitive sites.

If you do go broad, set the time range deliberately and keep passwords unticked.

Here is how I decide. A single site with a login problem gets a cookie clear for that site. A single site with a layout problem gets a cache clear for that site. Two or more unrelated sites with problems send me to the broad clear.

Sort by symptom first, then by scope. It keeps you from deleting a month of sessions to fix one broken page.

Useful sessions and preferences are worth protecting

Some logins are annoying to rebuild. A work portal with a rotating security code, a bank that asks several questions on a new device, a developer tool with a long token. Those cookies are worth protecting.

That is another reason to go narrow. Clearing one site keeps all of those sessions intact.

Make a short list of the three or four sites that hurt most to lose. Before any broad clear, confirm you can get back into each of them.

Browsers can also keep sign ins easy through a built in password manager, so a cleared cookie often means a quick auto fill rather than a hunt for your password. Check that auto fill works on those key sites before you clear.

An Incognito window gives a quick test without deleting anything

A private window starts with no cache and no cookies from your normal session, so it shows the site the way a first time visitor sees it.

In Chrome, press Ctrl+Shift+N (Cmd+Shift+N on a Mac). In Firefox, use Ctrl+Shift+P. In Edge, it is called InPrivate, with Ctrl+Shift+N. In Safari, press Cmd+Shift+N.

Open the page there. If it looks right, the problem is stored in your normal browser, and you can clear just that site. If it still looks wrong, clearing would not have helped.

This takes about ten seconds, and I do it before every other step. Extensions are also off by default in Chrome’s Incognito, which gives a second clue if an extension is the real cause.

What Should You Do If Clearing Cache and Cookies Does Not Fix the Problem?

If clearing did not help, the old content is probably not stored in your browser at all. Try a hard refresh, test in a private window and another browser, and switch off extensions. If it still looks wrong everywhere, a DNS, CDN or server side cache is likely holding the old version, and the fix sits with whoever manages the website or hosting.

A hard refresh forces the page to reload its files

A hard refresh tells the browser to ignore its saved copies for the current page. On Windows, press Ctrl+F5 or Ctrl+Shift+R. On a Mac in Chrome or Firefox, press Cmd+Shift+R.

In Safari, empty the caches with Option+Command+E, then reload. With Chrome’s developer tools open, you can also right click reload and choose Empty Cache and Hard Reload.

A hard refresh is smaller than clearing everything. I try it before the Delete browsing data window, and it solves a good share of simple cases. It does not touch cookies, so it will not fix a login loop.

If the page still looks wrong after a hard refresh, you have learned something useful. The old copy is not coming from the browser’s normal cache, so look further down the chain.

Extensions and conflicting settings can mimic a cache problem

Ad blockers, privacy tools, VPN extensions and dark mode extensions can break layouts and logins in ways that look exactly like a stale cache. Test in a private window, where Chrome disables extensions by default. If the site works there, turn your extensions off one at a time in your normal window until it breaks again.

Check your computer’s date and time too. A wrong clock causes certificate warnings such as “Your connection is not private,” and no amount of clearing will fix that.

Also look for an old VPN or proxy setting. They can send your traffic somewhere unexpected, including to a cached copy.

Another browser gives you a clean comparison

Open the site in a browser you rarely use. It has a different cache and different cookies, so it behaves like a different person. If it works there, your first browser holds the problem.

Then try your phone on mobile data, with Wi Fi switched off. That removes your home or office network from the picture, including its DNS cache and any filtering. If the site looks right on mobile data but wrong on your Wi Fi, the issue is on your network.

This two minute test sorts “my browser” from “my network” from “the website,” and it is the best use of two minutes I know.

DNS, CDN and server side caches sit outside your browser

Here is the editorial point I care about most. Clearing your browser cache does not clear any cache on the website’s side. Those are separate layers.

DNS cache stores which server a domain points to. You can flush it on Windows with ipconfig /flushdns, and on a Mac with sudo dscacheutil -flushcache followed by sudo killall -HUP mDNSResponder.

ipconfig /flushdns

A CDN, such as CloudFlare, keeps copies of your site on servers around the world. When you change a file, you may need to purge the CDN cache from its dashboard.

A WordPress cache plugin keeps its own copy of finished pages. LiteSpeed Cache has a Purge All option in the toolbar, and other plugins have similar buttons. Hosting servers can add another layer on top.

If you installed WordPress through Softaculous on a shared hosting plan, check the cache plugin first, then the CDN. If you want to see what a control panel looks like before you rely on one, the control panel demo shows it. On your own VPS or a dedicated server, you also control the server side page cache, which means you can purge it yourself.

Here is a worked example of how long old content can hang around. Say a stylesheet is served with max-age=14400, which is 4 hours. A visitor loads your page at 9:30. You change the stylesheet at 10:00.

That visitor may keep the old file until about 13:30, and clearing your own browser does nothing for them. If you run a site, remember that you cannot clear your visitors’ browsers.

Your hosting provider is the right call once those checks fail

Contact your host after you have done four things: you saw the same old content in a private window, you saw it in a second browser, you saw it on your phone using mobile data, and you purged your CDN and your WordPress cache plugin.

Then write a ticket that saves everyone time. Include the exact URL, what you see and what you expected, when you made the change, and the four tests you ran. A ticket like that usually gets solved in one reply instead of five.

An honest limit: a host cannot reach into your browser, and no host can flush your visitors’ browsers. It can check server side caching and whether the right file is on the server. If you are not sure when a problem is worth escalating, our post on when to call your host covers that decision for attacks and traffic problems.

If you build sites for clients on a reseller hosting plan, you will see these tickets weekly. A one line reply that says “try a hard refresh and a private window” resolves a surprising number of them. You can compare what a reseller plan includes on our reseller features page. If you run WordPress, our WordPress security checklist is worth a read while you are in the dashboard.

My conclusion. Clearing your cache and cookies is a good tool and a bad habit. Use it when a site looks old, looks broken, or traps you in a login loop. Do not use it as weekly cleanup.

My order of operations is always the same: private window first because it costs ten seconds, then a hard refresh, then clear that one site, and clear everything last. Most problems end at step one or two.

The bigger lesson is about where the problem lives. If you see old content on your own site, your browser is only one of several caches between you and the file. Once you know the layers, you stop guessing.

Your next step. If your own site keeps showing old content, check whether it sits behind a CDN. Our CloudFlare CDN page explains how a CDN caches your site, so you know which cache to purge first.

Sources I used

  1. Google Chrome Help: Delete browsing data in Chrome
  2. Google Chrome Help: Delete and sync browsing data on mobile
  3. Google Help: Clear cache and cookies
  4. Apple Support: Delete your Safari history, cache and cookies on iPhone
  5. Mozilla Support: Clear cookies and site data in Firefox (confirm link)

Leave a Reply

Your email address will not be published. Required fields are marked *