Chrome Google browser force refresh page (without using cache)

In the process of project development, when testing with a browser, the cache that comes with the browser will often cause a headache, so the following will introduce several methods to clear the cache and force the page to be refreshed in the Chrome browser

1. By shortcut keys

Windows and Linux operating systems: Ctrl+Shift+R

Mac OS: Cmd+Shft+R

This allows a hard reload to refresh without using the page cache

2. Through the developer tool mode

First, press F12 on the keyboard or the right mouse button to open the inspection option to open the developer tools mode of the Chrome browser . Then long press the Refresh button or right click on the Refresh button to see the refresh menu with more options

Normal reload  : Ctrl+R: Normal reload.
Hard reload: Ctrl+Shift+R: Shallowly clear the history, but the cache is not necessarily completely cleared.
Empty cache and hard reload: can deep clear all caches. (It is recommended to use this!!!)

Guess you like

Origin blog.csdn.net/qq_42691298/article/details/128417823