What is the difference between updating F5 and Shift + F5 in Google Chrome browser?

What is the difference between F5 refresh and SHIFT + F5 in Google Chrome?

The reason I'm asking about is that sometimes when using F5 on my site the pictures do not load properly, but when using SHIFT + F5 the reboot works.

+67
google-chrome
Dec 13 '13 at 14:55
source share
3 answers

It ignores cached content when updating ...

https://support.google.com/a/answer/3001912?hl=en

F5 or Control + R = Refresh current page
Control + Shift + R or Shift + F5 = Reload the current page, ignoring cached content

+147
Dec 13 '13 at 14:59
source share

The difference is not only for Chrome, but for most web browsers.

enter image description here

F5 refreshes the web page and often reloads the same page from the cached contents of the web browser. However, reloading from the cache every time is not guaranteed, and this also depends on the expiration of the cache.

Shift + F5 causes the web browser to ignore its contents in the cache and retrieve a new copy of the web page for the user.

Shift + F5 guarantees loading of the last contents of the web page.
However, depending on the page size, it is usually slower than F5 .

You can refer to: What requests are executed by browsers "F5" and "Ctrl + F5" is updated?

+7
Dec 13 '13 at 14:59
source share

F5 refreshes the page you are currently on. Ctrl + F5 or Shift + F5 will reload the cached content (i.e. JavaScript files, images, etc.)

You can also press F12 for developer tools in IE, CHROME, etc.




Consider also the following types:

Normal reboot

Same as pressing F5 . This will use the cache in every possible way. If the browser can avoid re-loading JavaScript files, images, text files, etc., then it will.




Hard reset

Do not use anything in the cache when executing the request. Force the browser to reload each JavaScript file, image, text file, etc.




Empty cache and hard restart

Obviously, if the cache is empty, it will have to perform a hard reboot. This again causes the browser to reload everything. However, if the page does any subsequent JavaScript downloads that were not part of the page load, then they can still use the cache, which helps clear the cache, because it ensures that even the cached files will not be used.

+4
Dec 13 '13 at 14:58
source share



All Articles