154

I recently created a free web hosting account on x10Hosting. Let's use www.example.x10host.com as my example domain. Before signing up for the domain, I visited the domain to see if it was available. When I saw that it was, I registered it, and immediately went to go look at it on Google Chrome. I still got the "Domain Available" message, so I tried again in 10 minutes, and still got the still got the message. I tried later in Firefox and got it as well. The next day, I tried it in Internet Explorer, and it worked. I am assuming that I now have an outdated cache of the page stored for both Chrome and Firefox. How can I clear just the cache for that specific page so that it will load normally?

DaveTheMinion
  • 5,488
  • 25
  • 61
  • 99
  • Same way as in IE "ctrl"+"F5" – Ramhound Feb 26 '14 at 02:35
  • 2
    You might want to look into [this](https://superuser.com/a/444881/374397) answer. It solves your actual problem of clearing the cache pertaining to **a specific website** (which is currently opened) and **not the whole browser**. – RBT Jul 19 '17 at 05:32

7 Answers7

335

@dwurf Ctrl Shift + F5/R is Hard Reload, doesn't empty cache.

There is a simple way to do what OP wants:

  1. Open Dev Tools by pressing: F12 or Ctrl+Shift+I (or on Mac: Opt+Cmd+I)

  2. Now by just leaving dev tools open, right-click or click and hold the reload button next to the address bar. Now a somewhat 'hidden menu' opens.

  3. Choose: "Empty Cache and Hard Reload"

jezmck
  • 103
  • 5
Dim
  • 4,990
  • 2
  • 15
  • 10
  • and what about history? – user3459110 Aug 24 '14 at 06:38
  • 3
    Is this still valid, is there a video of how to do step 2. trying it with no avail – pal4life Jan 20 '15 at 21:28
  • 9
    This doesn't help if site A redirects me to site B, and I want to clear the cache fo site A. – Tyler Collier Feb 06 '15 at 18:45
  • This is a separate issue. I have encountered this problem too wanting to set a cookie to site A. Old Opera had an option to disable automatic redirections, chrome devs haven't showed interest in this... – Dim Feb 28 '15 at 18:34
  • 7
    Dev tool > `Network` > Check `Disable cache` – Chemical Programmer Jan 21 '16 at 07:24
  • That's so funny -- I always wondered why that 'hidden menu' sometimes didn't show up; now I realize I probably happened to have Dev Tools open when it did work... – drzaus Sep 17 '16 at 10:32
  • This was cool to learn about but didn't help me clear the cache of the favicon. Eventually I found http://stackoverflow.com/a/7116701/470749, which worked. – Ryan Feb 17 '17 at 23:08
  • 3
    It is critical to know that **it clears the entire cache of the browser** and not just pertaining to the website currently opened in the current tab. – RBT Jul 19 '17 at 02:49
  • Made an account for superuser.com just so I could upvote this. Thanks **alot**!! But I noticed that this does not work on a macbook? What's that about? – Derk Jan Speelman Dec 06 '17 at 12:17
  • @RBT where did you get that from? I don't think it clears cache from the whole browser... – Chagai Friedlander Jul 03 '20 at 08:24
  • looking for a hotkey for this but thanks @ChemicalProgrammer that was really usefull! – Chagai Friedlander Jul 03 '20 at 08:31
14

Ctrl+F5 reloads the page without using the local cache.

Ctrl+Shift+R also works, but not in IE

Chrome Reference

Firefox Reference

Internet Explorer reference

dwurf
  • 406
  • 2
  • 9
9

In the Chrome DevTools settings/preferences there is an option under "Network":

Disable cache (while DevTools is open)

You can open that, and reload the webpage without the cache.

I had a frustrating situation where a HTTP redirect was cached, so I couldn't just refresh. Opening the DevTools with the "Disable cache..." option open and re-entering the URL was the only thing I could figure out other than doing into the regular Chrome preferences and deleting the cache there (significantly more difficult)

For the record, having the DevTools open also enables a 3rd option on the refresh button (right-click) context menu:

  • Normal Refresh
  • Hard Refresh
  • Empty Cache and Hard Reload (careful, this clears your whole cache)

There is a good explanation of what these options mean here: https://stackoverflow.com/a/14969509/363701

Its worth noting that clearing the cache does not clear the History.

Zach Lysobey
  • 223
  • 2
  • 9
  • No need to open _settings_ (gear icon); there is a "Disable cache" checkbox in the Network menu. ...which I don't quite understand the name of: because if you reenable the cache, cached behavior does not reappear -- as if the cache had been cleared. – zylstra Apr 23 '22 at 05:32
5
  1. On Chrome, open chrome://settings/siteData

  2. Type example.x10host.com on the Search cookies input.

  3. Click on the trash bin to delete cached data and cookies for that web site.
Paulo Merson
  • 151
  • 1
  • 3
1

[Quick Answer]

Dev tool (Ctrl+Shift+i) or in some cases using F12 | Network | Check Disable cache

0

In my case, when developing I made a redirect page, then I couldn't do ctrl+f5 on the page because there was not enough time in the page until the redirection method got executed.

Then, I went to console f12 and then pressing f1 to see the options, disabled the javascript to avoid redirection, and after that I did a ctrl+f5 before enabling the javascript again.

Hope it helps someone.

removed
  • 103
  • 1
  • 7
-2

right-click on reload and click on Empty Cache and Hard Reload

click to see the steps

  • 1
    The author is using Windows, your screenshot indicates you are using macOS, is your answer applicable to the author's question? – Ramhound Sep 22 '19 at 14:52
  • Thanks for your help!! but the second step of [this answer](https://superuser.com/a/722548/606387) is also saying this – Gaurav Sharma Sep 23 '19 at 05:35
  • I am not asking about another user's answer. I am asking about your answer? Is your answer applicable to this question? If there is a second step, is there a reason, you don't include it in the body of your answer? – Ramhound Sep 23 '19 at 08:24
  • Thank you for mentioning this. I thought steps are obvious from the image, but they are not. I should have mentioned that you need to have your dev tools open before doing right click on the reload button otherwise this menu will not be pop out. Thanks again!! – Gaurav Sharma Sep 23 '19 at 12:54
  • 1
    The information in your comment should be in your answer. – Ramhound Sep 23 '19 at 15:28