How To Clear A Browser Cache

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, 9 and newer

  • 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

delete browsing history

Make sure Temporary Internet Files is selected. A click on Delete clears the browser cache in Internet Explorer.

Read also:  If Malwarebytes blocks legitimate processes, do this

Mozilla Firefox 3.5, 4 and newer

  • Tap on the Alt-key and select Tools > Options > Advanced > Network > Clear Now
  • Or click Firefox > History > Clear Recent History
  • Or, press Ctrl-Shift-Del

clear recent 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.

Update: In the new Opera web browser, perform one of the following operations instead:

  1. Load opera://settings/clearBrowserData directly in the browser.
  2. Select Opera > History or press Ctrl-H and there clear browsing data.
  3. Use the shortcut Ctrl-Shift-Del.

Opera

  • Click Menu > Settings > Clear Private Data

clear private data

Make sure Delete Entire Cache is selected in the options before you click on the Delete button.

Google Chrome

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

clear browsing data

Make sure empty the cache is selected before you click on the clear browsing data button.

Safari

  • Click Safari > Empty Cache

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 7, Vista: C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files

Mozilla Firefox

  • Windows XP: C:\Document and Settings\username\Local Settings\Application Data\Mozilla\Firefox\Profiles\code.default\Cache
  • 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/
    Profiles/code.default/Cache

Google Chrome

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

Opera

  • Windows XP: C:\Documents and Settings\username\Local Settings\Application Data\Opera\Opera
  • Windows Vista, 7: c:\Users\username\AppData\Local\Opera\Opera\application_cache\
  • Mac: Check Menu > Help > About Opera.
  • Linux: Check Menu > Help > About Opera.

Safari

  • 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.

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

Please share this article

Facebooktwittergoogle_plusredditlinkedinmail



Responses to How To Clear A Browser Cache

  1. SubgeniusD 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?

    • Martin Brinkmann 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.

  2. Ahmad 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.

    • Martin Brinkmann April 23, 2011 at 11:30 pm #

      Thanks, I try my best ;)

      • lin 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!
        Lin

  3. Shiva April 23, 2011 at 10:28 pm #

    Too Hard for me :P lol

  4. ilev April 24, 2011 at 9:52 am #

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

    • Martin Brinkmann 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.

  5. JD July 5, 2011 at 5:50 pm #

    Thanks sir...nice work..

  6. ali September 16, 2011 at 4:09 pm #

    what u want

    • chris July 6, 2017 at 1:22 pm #

      thank's very..very...much.god bless..boss.

  7. Shoo Fly 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.

    • Martin Brinkmann 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.

  8. Anonymous 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.

    • Martin Brinkmann 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.

      • frank May 24, 2012 at 10:19 am #

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

  9. billy lopez February 1, 2012 at 12:12 am #

    this doesnt work men please some one help me.

  10. Henrik February 5, 2012 at 5:49 pm #

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

  11. Leo 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?

  12. brandon marshall 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.

  13. Anonymous April 24, 2012 at 4:58 pm #

    connot connect

  14. greg May 18, 2012 at 9:18 pm #

    i keep getting sos please help me

  15. David Schultz 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??

    • Martin Brinkmann 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

  16. john 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.

  17. dave July 6, 2012 at 1:19 pm #

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

  18. dave 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??

  19. eric eder 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. Philip 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?

  21. jagprite kaur July 9, 2012 at 5:56 am #

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

  22. farhan 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?

  23. alepsensi neko 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?

  24. alepsensi neko 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?

  25. alepsensi neko July 17, 2012 at 4:36 pm #

    lost satellite connection, why?

  26. alepsensi neko 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

  27. Mahad_1 August 12, 2012 at 1:58 pm #

    it doesn't work

  28. Selim Aviyente 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

  29. greg August 28, 2012 at 7:56 am #

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

  30. random August 29, 2012 at 9:43 pm #

    is backyard monsters down???

  31. Stormwind 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....

  32. joel September 30, 2012 at 1:56 am #

    i can't play my games in facebook

  33. didi February 14, 2013 at 7:37 pm #

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

  34. didi February 14, 2013 at 7:41 pm #

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

  35. Anonymous March 10, 2013 at 6:55 pm #

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

  36. brad January 12, 2014 at 11:56 pm #

    clearing cache worked! Thanks.

  37. Anonymous September 12, 2016 at 11:36 am #

    clearing cache not worked this message shown again

Leave a Reply