Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome WON'T clear cache... ctrl + F5 doesn't seem to work either

I'm working on a web project but I have this really annoying issue with my browser, Google Chrome... Every time I make changes on my website, my browser won't refresh and clear the cache. It works totally fine in my friend's Chrome browser, but not for me apparently.

As mentioned ctrl + F5 does not work for me. I tried to press F12 (for developer console) and right-click on the refresh icon, and then click "Empty Cache and Hard Reload". Still doesn't work... Actually not true, it worked once - but now it stays the same again... I tried reinstalling chrome too, still didn't work... I tried to clear my whole history including all passwords, cache and so on - but nothing has fixed the issue.

Edited on 02-05-2020: Some of your answers worked for me, but some time ago I found a Chrome extension that works really well for me and I wanted to share with the community. It is called "Clear Cache" and you can find it here:

https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn/RK%3D2/RS%3DzwqaryCReNAACSfd_oYYPpX0_tw-

like image 795
Bender Avatar asked Sep 21 '14 10:09

Bender


People also ask

Why is my cache not clearing in Chrome?

Here are some ways you can try to fix your caching problem, in order of escalation: Try holding down the Shift key while pressing the Refresh button. Close your browser and re-open it (make sure you are NOT on the cached page) and delete your temporary Internet files (clear your cache).

Why my Ctrl F5 is not working?

You have a keyboard with an F-Lock key. The function lock is currently on. "Open file" and "Print" are the meanings of F5 and F12 when function lock is on. So just turn it off.


2 Answers

I have had a similar problem. What I find is that I need to open up the Chrome developer tools and then hit Ctrl + F5. Only then is the cache refreshed.

Update

Also, I would recommend that you select "Disable Cache" in the developers tools ("Network" tab).

like image 91
David Brower Avatar answered Sep 21 '22 12:09

David Brower


Also if you right click the reload button there is a Empty Cache and Hard Relaod option

This doesn't work unless you have dev tools open. So you need to first inspect the element, then right click on the refresh button. Then you have the options of Empty Cache and Hard Reload

like image 32
frazras Avatar answered Sep 25 '22 12:09

frazras