测试方法:使用“隐私浏览”用于测试没有缓存的网站?
我想知道是否有人切换到隐私浏览模式来测试没有缓存的网站? 您知道,当您必须清除缓存以确保您所看到的内容是来自服务器的新鲜内容时,私密浏览无疑是一种安全且更快的方法,而不必每次都转到设置并清除。
把这个放在那里看看其他人是如何做到的,或者这种测试方式是否有我可能不知道的陷阱。
谢谢。
I'm wondering if anyone switches to private browsing mode to test sites sans cache?
You know when you have to clear cache to make sure that what you are seing is fresh from the server, surely private browsing is a safe, and faster way to do this, instead of having to go to your settings each time and clearing.
Putting this out there to see how other people do it or if theres a catch to this way of testing that i may not be aware of.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我意识到我迟到了,但我在搜索有关 IE8 的“InPrivate Browsing”的更多信息时偶然发现了这个问题。
我觉得我应该补充一点,至少在 IE8 中,浏览“InPrivate”不会阻止缓存文件写入磁盘。然而,它所做的是在浏览器关闭时删除其缓存的文件。
因此,如果我了解您的特定用途,那么使用 IE8 进行 InPrivate 浏览似乎根本没有任何好处,除非您每次都关闭浏览器。
或者,强制刷新 (
Ctrl+F5
) 有什么问题?同样,删除缓存文件的快速热键是
Ctrl+Shift+Del
,然后按Enter
进行确认(比单击更快)。至少对于我的手指在键盘上来说,这是一个非常快速且简单的单手组合。I realize I'm late to the party, but I stumbled upon this question when searching for more information about "InPrivate Browsing" with IE8.
I felt I should add that, at least with IE8, browsing "InPrivate" does NOT prevent cache files from being written to disk. What it does do, however, is delete its cached files when the browser is closed.
So, if I understand your particular use, there appears to be no benefit to using InPrivate browsing with IE8 at all, unless you are closing your browser each time.
Alternatively, what's wrong with a forced refresh (
Ctrl+F5
)?Similarly, a quick hotkey for deleting cache files is
Ctrl+Shift+Del
followed byEnter
to confirm (faster than clicking). At least with my fingers on my keyboard, this is a very quick and easy one handed combination.是的,在大多数情况下,私密浏览非常适合这种情况。
唯一的“问题”是诸如位于缓存代理后面或使用一些新的 HTML 5 功能的网站,这些功能目前在私有模式下无法得到很好的处理(更多详细信息)。
Yes, private browsing would work well for that in most situations.
The only 'catches' would be things like being behind a caching proxy or sites that use some of the new HTML 5 features which are not well handled in private mode at present (more details).
我不认为私人浏览实际上会给你一个“空”的缓存。它仍然使用您当前的缓存,只是不保存任何新文件。因此,如果您在没有私密浏览的情况下访问该网站,那么您无论如何都会回到原点......
I don't think private browsing actually gives you an "empty" cache. It still uses your current cache, just doesn't save any new files to it. So if you ever visit the site without private browsing, then you're back to square one anyway...