How To Clear A Browser Cache

Martin Brinkmann
Apr 23, 2011
Updated • Dec 19, 2017

Ghacks regulars know how to clear the cache of their web browser. I get support emails occasionally from new readers who do not know how to do that, or who, when asked to clear the cache, do not know how to do it.

Telling customers how to clear the cache was a regular thing back when I worked in tech support, and it was not always easy to guide those users through the process.

Before we start with explanations on how to clear a browser cache, we are going to look at the cache briefly. What is it? Why is it there in first place?

The cache is a temporary storage on your computer. It is usually located on a hard drive but can be moved freely around, for instance to removable drives or even to the RAM.

Page elements are stored in the cache whenever you visit a website. This is done to speed up the loading times on your next visit, or if you navigate to another page on the website.

A basic example. Say you view ten pages on Ghacks. Instead of having to download the static Ghacks logo ten times you only download it once from the server. The logo is loaded from cache when you open the other nine pages of the website. This saves bandwidth and connections to the server which speeds up the display of the website in the web browser.

The cache can be the source of problems as well. This is for instance the case if I change the Ghacks logo after it has been stored in your cache. Your browser may display the old logo even though a new one has been uploaded to the site. While it is usually not a problem for logos and such, it could very well be problematic if you get a "site maintenance" information which does not go away, even if your friends are telling you that they can access the site again.

That's why it is important to know how to clear the browser cache. Unfortunately, it is a different procedure with every Internet browser. This guide covers the five popular browsers Internet Explorer, Mozilla Firefox, Google Chrome, Opera and Safari.

How To Clear A Browser Cache

Internet Explorer 8 and newer (includes Internet Explorer 10 and 11)

delete browsing history

  • (Press the Alt-key if the menu bar is not shown), and click Tools > Safety > Delete Browsing History
  • Or, press Ctrl-Shift-Del
  • Or, click Tools > Internet Options > Delete
  • Or, open Start Menu, click Control Panel, select Internet Options > Delete

Make sure Temporary Internet Files is selected. A click on Delete clears the browser cache in Internet Explorer. You may clear cookies, the browsing and download history, form data, passwords, and ActiveX Filtering and Tracking Protection data as well.

Microsoft Edge

microsoft edge cache

Microsoft Edge users may clear the Edge browsing cache in the following way:

  1. Use the keyboard shortcut Ctrl-Shift-Del to display the clear browsing data dialog.
  2. You can click on Menu > Settings > Choose what to clear instead.

Make sure "cached data and files" is selected, and hit the clear button to remove the cached files. You can clear the browsing history, cookies and saved website data, tabs you set aside or closed recently, download history, form data, passwords, and other data such as media licenses or location permissions using the menu as well.

Mozilla Firefox

clear recent history

  • Tap on the Alt-key and select History > Clear recent history
  • Or, press Ctrl-Shift-Del
  • Or load about:preferences#privacy and select "clear your recent history" under history.

Make sure Cache is selected in the options. It may also be necessary to switch the time range to everything to make sure that everything that is currently stored in the cache gets deleted.

You may also delete the browsing and download history, form and search history, cookies, active logins, offline website data and site preferences.


opera clear cache

  • Click Menu > Settings > Privacy & Security > Clear Browsing Data.
  • Or, load opera://settings/clearBrowserData

Make sure cached images and files is selected before you activate the clear browsing data button. You can also clear the browsing and download history, cookies and other site data, passwords, and autofill form data.

Google Chrome

chrome clear browsing data

  • Click Menu > More Tools > Clear Browsing Data
  • Or, use the shortcut Ctrl-Shift-Del
  • Or, load chrome://settings/clearBrowserData and click on Clear browsing data

Make sure "cached images and files" is selected before you click on the clear browsing data button. You can also clear the browsing history, and cookies and other site data in basic mode, and the download history, passwords, autofill form data, site settings, hosted app data, and media licenses in advanced mode.


safari empty cache

  • Click Safari > Empty Cache

Clearing the browser cache manually, Cache Locations

You can also clear the browser cache manually. It is usually not necessary but handy to know anyway.

Internet Explorer

  • Windows XP: C:\Documents and Settings\username\Local Settings\Temporary Internet Files
  • Windows 10, Windows 8, Windows 7, Vista: C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files

Microsoft Edge

  • Windows 10: C:\Users\user_name\AppData\Local\Packages\Microsoft.MicrosoftEdge_xxxx\AC\#!001\MicrosoftEdge\Cache\

Mozilla Firefox

  • Windows XP: C:\Document and Settings\username\Local Settings\Application Data\Mozilla\Firefox\Profiles\code.default\Cache
  • Windows 10, Windows 8, Windows 7, Vista: C:\Users\username\AppData\ Local\Mozilla\Firefox\Profiles\code.default\Cache
  • Linux: /.mozilla/firefox/.default/Cache/
  • Mac: ~/Users/username/Library/Caches/Firefox/

Google Chrome

  • Windows XP: C:\Documents and Settings\username\Local Settings\Application Data\Google\Chrome\
  • Windows 10, Windows 8, Windows 7, Vista: C:\Users\username\AppData\Local\Google\Chrome\User Data\Default\Cache
  • Linux: ~/.cache/google-chrome
  • Mac: ~/Library/Caches/Google/Chrome


  • Windows XP: C:\Documents and Settings\username\Local Settings\Application Data\Opera\Opera
  • Windows 10, Windows 8, Windows Vista, 7: C:\Users\username\AppData\Local\Opera Software\ProductName\Cache\
  • Mac: Check Menu > Help > About Opera.
  • Linux: Check Menu > Help > About Opera.


  • Windows XP: c:\Document and Settings\username\Application Data\Apple Computer\Safari
  • Windows Vista, 7: C:\Users\username\AppData\Local\Apple Computer\Safari
  • Mac: ~/Library/Caches/Safari/

Third-party software

Third-party software can help you clear the cache regularly. The most popular Windows tool to do so is the free CCLeaner.

It supports all major browsers and support for other programs can be added by installing CCEnhancer or by adding their cache locations manually.

ccleaner clear internet cache

Simply make sure that Internet Cache and Temporary Internet Files are selected in the program to clear the cache.

Linux users can check out BleachBit instead.

How To Clear A Browser Cache
Article Name
How To Clear A Browser Cache
Find out how to clear the cache of the browser that you are using on Windows, Linux and Mac devices manually or automatically.
Ghacks Technology News

Previous Post: «
Next Post: «


  1. Anonymous said on September 12, 2016 at 11:36 am

    clearing cache not worked this message shown again

  2. brad said on January 12, 2014 at 11:56 pm

    clearing cache worked! Thanks.

  3. Anonymous said on March 10, 2013 at 6:55 pm

    i do clear the browsing data but i am still suspended USER ID (8765254)

  4. didi said on February 14, 2013 at 7:41 pm

    i can’t play my games in facebook :’(
    please help meeeeeeeeee

  5. didi said on February 14, 2013 at 7:37 pm

    i can’t play my games in facebook :'(

  6. joel said on September 30, 2012 at 1:56 am

    i can’t play my games in facebook

  7. Stormwind said on September 21, 2012 at 7:43 pm

    kizeye u wanna kick in the eye for real stop spending that money on yourself u pompis prick and get some better servers wtf are u guys doing if theses issues dont get resolved ill promote world of warcraft a lot more than this screwed up company u guys have….

  8. random said on August 29, 2012 at 9:43 pm

    is backyard monsters down???

  9. greg said on August 28, 2012 at 7:56 am

    commander will not load.. satalite not found but battle pirates and all my other games work fine

  10. Selim Aviyente said on August 18, 2012 at 3:48 pm

    Since more than 2 weeks I can not load the game backyard monsters. I have tried the recommendations and I have also tried to load it with two more computers (in order to be sure about my system) but the result was the same! The page of the application keeps trying to reload all the time but no success!!!!
    Please check and solve the problem!
    Thank you

  11. Mahad_1 said on August 12, 2012 at 1:58 pm

    it doesn’t work

    1. Martin Brinkmann said on August 12, 2012 at 3:40 pm

      Can you please be more precise?

  12. alepsensi neko said on July 21, 2012 at 5:45 pm

    what your problem with me until not connection this game? i want to play this game, do you understand

  13. alepsensi neko said on July 17, 2012 at 4:36 pm

    lost satellite connection, why?

  14. alepsensi neko said on July 17, 2012 at 4:31 pm

    i have a problem with the game, i always reconnecting after load the game. like 30 sec after. n the tips above not help me out. can you explain? y?

  15. alepsensi neko said on July 17, 2012 at 3:33 pm

    same problem with farhan. I have a problem with the game, i always reconnecting after load the game. helm me for connecting the game, please?

  16. farhan said on July 13, 2012 at 3:39 am

    i have a problem with the game, i always reconnecting after load the game. like 30 sec after. n the tips above not help me out. can you explain? y?

  17. jagprite kaur said on July 9, 2012 at 5:56 am

    backyard monsters in not loding but my husband backyard monsters is ok. what is going on.

  18. Philip said on July 7, 2012 at 12:08 am

    Hi there,

    It’s been more than a week and I get this message every time when I log in on War Commander… Satellite Connection lost… other games like battle pirates work fine, this one just won’t let me in despite seeing the background of my previously saved game status. I followed all of the instructions on this website, even went elsewhere and tried other computers… nothing seems to be working at the moment. Any ideas?

  19. eric eder said on July 6, 2012 at 12:04 pm

    i can play war commander ,,the problem is ,war commander is not loading ,,i have to accounts of war commander ,,and both of this two account have a problem ,for the loading ,pls help me ,,4 day that i cant play ,,

  20. dave said on July 6, 2012 at 1:22 pm

    Nochmal auf deutsch. In den Profilen meiner Kiddies läd das spiel nicht. In meinem Hauptprofil und in dem meiner frau gehts. an was liegt das??

  21. dave said on July 6, 2012 at 1:19 pm

    backyardmonsters will not running on my Profil. My wifes game is running. whats going on.!!!

  22. john said on June 2, 2012 at 7:39 am

    I cant load the game. I casn view my base but when I go to view the map it wont load.

  23. David Schultz said on May 19, 2012 at 2:07 am

    I use Mozilla firefox, I am trying to clear my cache, I have done the first method, and I am trying to do the second, the the (Windows 7, Vista: C:\Users\username\AppData\ Local\Mozilla\Firefox\Profiles\code.default\Cache) file does not exist, or at least I cannot find it. I can get to users, but there is no username file, and when I click on my name, The “appdata” file is not there.

    what do i need to do different??

    1. Martin Brinkmann said on May 19, 2012 at 7:50 am

      Enter about:support into the address bar, press enter, and click on the show folder button. this should take you right to your profile folder

  24. greg said on May 18, 2012 at 9:18 pm

    i keep getting sos please help me

  25. Anonymous said on April 24, 2012 at 4:58 pm

    connot connect

  26. brandon marshall said on April 1, 2012 at 12:33 am

    kayy, soo :s whenever i attack someone , all of my monsters from my monster housing goes away, and it takes the monsters away from the hatchery too.

  27. Leo said on March 12, 2012 at 6:30 am

    Hi i play the back yard Monster game. But some how on saturday came up came up a information box with out of information and i coul not use any other plug. After that i move my main base and lose all of my 240 out post. Im in the same map just next to were i was. But the point is that i dont know why i mobe away from my all position and i lost all of my out post. Would you please help my out?

  28. Henrik said on February 5, 2012 at 5:49 pm

    My desktop defender haven´t worked in many months now. nothing of this works…

  29. billy lopez said on February 1, 2012 at 12:12 am

    this doesnt work men please some one help me.

  30. Anonymous said on January 30, 2012 at 2:19 am

    this happend to me on battle pirates i was lvl 32 and then the next day i was lvl 1 again how do i go back up to lvl 32 again plz help me with this.

    1. Martin Brinkmann said on January 30, 2012 at 9:50 am

      Is that a Flash browser game? If the game saves your progress in a cookie, e.g. normal or Flash, and if that cookie has been deleted, you have almost no chance to get it back. Sorry to say but you may need to start anew.

      1. frank said on May 24, 2012 at 10:19 am

        and what if u havent cleared or deleted it and that is happening??.. thanx

  31. Shoo Fly said on November 26, 2011 at 2:58 am

    Why is this site called ghacks? This isn’t a hack, a tweak, or even a how-to, really…it’s common knowledge, read-the-manual stuff. Tell me how to access & read it (C:\Users\Username\AppData\Local\Google\Chrome\User Data\Default\Cache) and that will be another thing entirely.

    1. Martin Brinkmann said on November 26, 2011 at 10:05 am

      This is a guide on how to clear the cache in four major browsers, aimed at users who switch browsers and users who are asked / or want to do it but do not know how to.

  32. ali said on September 16, 2011 at 4:09 pm

    what u want

    1. chris said on July 6, 2017 at 1:22 pm

      thank’s very..very…much.god bless..boss.

  33. JD said on July 5, 2011 at 5:50 pm

    Thanks sir…nice work..

  34. ilev said on April 24, 2011 at 9:52 am

    Isn’t the simplest way just to run portable Ccleaner ?

    1. Martin Brinkmann said on April 24, 2011 at 10:36 am

      Ilev yes that is an option. I wanted to give people the tools at hand to do it manually in the browser, without third party tools. The delete cookies guide that I have written today mentions CCleaner. It is a great tool, especially useful if you use more than one web browser.

  35. Shiva said on April 23, 2011 at 10:28 pm

    Too Hard for me :P lol

  36. Ahmad said on April 23, 2011 at 10:14 pm

    Thanks a lot man, you make it easy for many people. I will share this link if someone faces problem. Great and easy write up as always.

    1. Martin Brinkmann said on April 23, 2011 at 11:30 pm

      Thanks, I try my best ;)

      1. lin said on August 31, 2016 at 1:50 pm

        Hi Martin, after long looking for cleare and east write up, I finaly find your page. The best!
        Danke/Thank you!

  37. SubgeniusD said on April 23, 2011 at 9:13 pm

    With Opera you can also go Menu->Settings->Preferences->Advanced Tab->History->Disk Cache->Empty Now. This won’t clear saved cookies and other useful stored data.

    BTW – I noticed in the Opera image “delete persistent storage”. Does this refer to the insidious “Evercookie” you covered last November? Any news on this new privacy threat?

    1. Martin Brinkmann said on April 23, 2011 at 11:29 pm

      I’m not 100% sure but I think this has nothing to do with Flash, but with Unite and other Opera features.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.