How can I force a hard reload in Chrome for Android

后端 未结 21 2014
夕颜
夕颜 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:50

    I found a solution that works, but it's ugly.

    • Connect the Android device to your PC with a USB cable and open Chrome on your desktop.
    • Right-click anywhere on a page and select "Inspect".
    • Click the three-dot menu and select "Remote devices" under the "More tools" menu:

    • In the panel that opens, select your device and then the "Inspect" button next to the name of the tab on your phone that needs to be refreshed:

    • In the window that opens, click the "Network" tab and check the "Disable cache" checkbox:

    • Reload the page on your phone or using the reload button in the DevTools window.

    Note: if your phone doesn't appear in the device list:

    • make sure the USB connection is using File Transfer mode and isn't simply charging
    • try restarting ADB or run adb devices to see if the device is being detected

提交回复
热议问题