137

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?

  • Same way as in IE "ctrl"+"F5" – Ramhound Feb 26 '14 at 2:35
  • 2
    You might want to look into this 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 5:32
300

@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"

| improve this answer | |
  • and what about history? – user3459110 Aug 24 '14 at 6:38
  • 2
    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
  • 7
    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 6 '15 at 18:45
  • 4
    Dev tool > Network > Check Disable cache – Chemical Programmer Jan 21 '16 at 7:24
  • 2
    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 2:49
11

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

| improve this answer | |
  • @Ramhound Ctrl F5 opens the file browsing window for me. – DaveTheMinion Feb 26 '14 at 2:43
  • 2
    Cmd+Shift+R on Mac OS X – Béatrice Cassistat Aug 4 '14 at 13:07
5

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.

| improve this answer | |
1

[Quick Answer]


Dev tool (Ctrl+Shift+i) | Network | Check Disable cache

| improve this answer | |
1
  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.
| improve this answer | |
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.

| improve this answer | |
-1

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

click to see the steps

| improve this answer | |
  • 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 is also saying this – Gaurav Sharma Sep 23 '19 at 5: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 8: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
  • The information in your comment should be in your answer. – Ramhound Sep 23 '19 at 15:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.