How to reload the browser (Chrome) without cache, in addition to disable cache?

Asked

Viewed 4,639 times

3

Selecting "disable cache" is sometimes not enough for the browser not to search for javascript in the cache. inserir a descrição da imagem aqui Or even knowledge.

Some time ago I used a way that showed the option to empty the cache on the page’s Reload button, but I don’t remember what it looked like. I already did some research and I didn’t find it. I don’t know if this latest version of Chrome disabled this important feature.

Someone would know how to do that?

  • If you want to do this straight from the code, you can put a number randomico after the file name.

3 answers

1

I found what was missing and I’ll share it because maybe it will be useful for vcs tbm.

  1. Right-click on the refresh symbol of the CHROME browser: inserir a descrição da imagem aqui You’ll notice that nothing happens.
  2. But if you open the option Inspect (tool for Chrome developers) the refresh link of the page will have an extra functionality (when using the right mouse button), see the picture:inserir a descrição da imagem aqui.

There are other ways to clear the cache. This is one more way. In short, I thought the functionality had disappeared from this new version of Chrome, but it’s still there. You just need to open Chrome devtools.

1

There are also shortcuts:

WINDOWS/LINUX:
SHIFT+F5 or CRTL+SHIFT+R

CRTL+F5 this also works with me but has no reference*


MAC:

+SHIFT+R

Source: support.google.com

  • You know how to do CTRL+F5 on mobile?

  • 1

    On the mobile you can go on Settings -> Privacy -> Clear navigation data -> ADVANCED, marks only the option Image and cached files and click on Clear data

  • If your mobile phone is a Android and he’s with the Speed mode enabled you can use the browser part at that link, and use the disable cache from the Chrome console of your computer.

  • You don’t have it then, but you have other options to be able to do it! Thanks

0

inserir a descrição da imagem aqui

If that’s not enough, the/Cdn site is probably caching your files.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.