Google Chrome - Clear Cache for Specific Website

131

54

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

Posted 2014-02-26T02:25:04.790

Reputation: 4 578

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 – 2017-07-19T05:32:04.403

Same way as in IE "ctrl"+"F5" – Ramhound – 2014-02-26T02:35:19.533

Answers

291

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

Dim

Posted 2014-02-26T02:25:04.790

Reputation: 4 322

and what about history? – user3459110 – 2014-08-24T06:38:27.447

2Is this still valid, is there a video of how to do step 2. trying it with no avail – pal4life – 2015-01-20T21:28:43.553

7This doesn't help if site A redirects me to site B, and I want to clear the cache fo site A. – Tyler Collier – 2015-02-06T18:45:03.513

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 – 2015-02-28T18:34:52.627

4Dev tool > Network > Check Disable cache – Chemical Programmer – 2016-01-21T07:24:18.297

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 – 2016-09-17T10:32:26.007

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 – 2017-02-17T23:08:58.297

2It 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 – 2017-07-19T02:49:02.503

Wow, now that's an obscure feature if there ever was one. – Mike S. – 2017-11-15T15:25:01.137

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 – 2017-12-06T12:17:41.850

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

dwurf

Posted 2014-02-26T02:25:04.790

Reputation: 293

2Cmd+Shift+R on Mac OS X – Béatrice Cassistat – 2014-08-04T13:07:37.383

@Ramhound Ctrl F5 opens the file browsing window for me. – DaveTheMinion – 2014-02-26T02:43:24.473

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.

Zach Lysobey

Posted 2014-02-26T02:25:04.790

Reputation: 183

1

[Quick Answer]


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

Benyamin Jafari

Posted 2014-02-26T02:25:04.790

Reputation: 111

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.

Paulo Merson

Posted 2014-02-26T02:25:04.790

Reputation: 111

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

Posted 2014-02-26T02:25:04.790

Reputation: 103

-1

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

click to see the steps

Gaurav Sharma

Posted 2014-02-26T02:25:04.790

Reputation: 1

1The author is using Windows, your screenshot indicates you are using macOS, is your answer applicable to the author's question? – Ramhound – 2019-09-22T14:52:51.110

Thanks for your help!! but the second step of this answer is also saying this

– Gaurav Sharma – 2019-09-23T05:35:46.007

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 – 2019-09-23T08:24:38.103

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 – 2019-09-23T12:54:36.900

The information in your comment should be in your answer. – Ramhound – 2019-09-23T15:28:43.887