Open an url in Chrome without using the cache via command line

14,461

Solution 1

try the following command:

/usr/bin/google-chrome-stable --new-window --aggressive-cache-discard --disable-notifications --disable-remote-fonts --disable-reading-from-canvas --disable-remote-playback-api --disable-shared-workers --disable-voice-input --enable-aggressive-domstorage-flushing https://stackoverflow.com/questions/12544664/open-an-url-in-chrome-without-using-the-cache-via-command-line#12545236 %U &

That works for me in Chrome Version 54.0.2840.100 (64-bit) on Linux Mint Qiana

But it won't log me out of any sites unless I quit the browser first.

Solution 2

Adding the switch --disable-application-cache should work. Starting it incognito (--incognito) might also work. See also here for more command line switches.

Share:
14,461
TaoTao
Author by

TaoTao

Updated on June 04, 2022

Comments

  • TaoTao
    TaoTao almost 2 years

    I use the command chrome --new-window htp://www.example.com/ to open a url, but the page is opened using the last saved in the cache.

    Is there a way to open a URL from the command line forcing the loading ignoring the cache?

    Thanks!