How can I force a hard reload in Chrome for Android

后端 未结 21 2008
夕颜
夕颜 2021-01-29 19:31

In Chrome for desktop I have options in the dev tools to disable cache completely when dev tools are opened and I have the options to manually do a hard reload when long clickin

21条回答
  •  温柔的废话
    2021-01-29 19:59

    I'm using window.location.reload(true) according to MDN (and this similar question) it forces page to reload from server.

    You can execute this code in the browser by typing javascript:location.reload(true) in the address bar.

提交回复
热议问题