在Chrome中打开网址,而不通过命令行使用缓存 [英] Open an url in Chrome without using the cache via command line

查看:354
本文介绍了在Chrome中打开网址,而不通过命令行使用缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用命令 chrome --new-window htp://www.example.com/ 来打开一个网址,但是网页是使用上次保存的网页打开的在缓存中。

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.

有没有办法从命令行打开一个URL来强制加载忽略缓存?

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

感谢!

推荐答案

请尝试以下命令:

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 &

这适用于Linux Mint上的 Chrome版本54.0.2840.100(64位) QIAN

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.

这篇关于在Chrome中打开网址,而不通过命令行使用缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆