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!
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.
Adding the switch --disable-application-cache
should work. Starting it incognito (--incognito
) might also work. See also here for more command line switches.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With