测试方法:使用“隐私浏览”用于测试没有缓存的网站?

发布于 2024-09-27 13:57:20 字数 164 浏览 8 评论 0原文

我想知道是否有人切换到隐私浏览模式来测试没有缓存的网站? 您知道,当您必须清除缓存以确保您所看到的内容是来自服务器的新鲜内容时,私密浏览无疑是一种安全且更快的方法,而不必每次都转到设置并清除。

把这个放在那里看看其他人是如何做到的,或者这种测试方式是否有我可能不知道的陷阱。

谢谢。

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

浪推晚风 2024-10-04 13:57:20

我意识到我迟到了,但我在搜索有关 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 by Enter to confirm (faster than clicking). At least with my fingers on my keyboard, this is a very quick and easy one handed combination.

时光病人 2024-10-04 13:57:20

是的,在大多数情况下,私密浏览非常适合这种情况。

唯一的“问题”是诸如位于缓存代理后面或使用一些新的 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).

爱冒险 2024-10-04 13:57:20

我不认为私人浏览实际上会给你一个“空”的缓存。它仍然使用您当前的缓存,只是不保存任何新文件。因此,如果您在没有私密浏览的情况下访问该网站,那么您无论如何都会回到原点......

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...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文