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 11 years ago

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 – 8 years ago

Same way as in IE "ctrl"+"F5" – Ramhound – 11 years ago

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 11 years ago

Reputation: 4 322

and what about history? – user3459110 – 11 years ago

2Is this still valid, is there a video of how to do step 2. trying it with no avail – pal4life – 11 years ago

7This doesn't help if site A redirects me to site B, and I want to clear the cache fo site A. – Tyler Collier – 11 years ago

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 – 10 years ago

4Dev tool > Network > Check Disable cache – Chemical Programmer – 10 years ago

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 – 9 years ago

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 – 9 years ago

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 – 8 years ago

Wow, now that's an obscure feature if there ever was one. – Mike S. – 8 years ago

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 – 8 years ago

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 11 years ago

Reputation: 293

2Cmd+Shift+R on Mac OS X – Béatrice Cassistat – 11 years ago

@Ramhound Ctrl F5 opens the file browsing window for me. – DaveTheMinion – 11 years ago

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 11 years ago

Reputation: 183

1

[Quick Answer]


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

Benyamin Jafari

Posted 11 years ago

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 11 years ago

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 11 years ago

Reputation: 103

-1

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

click to see the steps

Gaurav Sharma

Posted 11 years ago

Reputation: 1

1The author is using Windows, your screenshot indicates you are using macOS, is your answer applicable to the author's question? – Ramhound – 6 years ago

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

– Gaurav Sharma – 6 years ago

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 – 6 years ago

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 – 6 years ago

The information in your comment should be in your answer. – Ramhound – 6 years ago