Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以查看 Firefox 中何时发生预取?在 Chrome 中有一个内部任务管理器,它显示网站何时在后台预渲染 Firefox 预取有什么类似的吗?
确认资源已被 Firefox 预取的一种方法是加载触发预取的页面,然后通过浏览about:cache并单击来查看浏览器缓存的内容List Cache Entries。
about:cache
List Cache Entries
如果您在执行此操作之前清除缓存,那么这些资源是否已成功预取将非常明显。
Firefox 不会预取整个网站;它只预取声明为需要预取或被解析为页面一部分的特定资源。
虽然可以添加一个,但无法查看预取何时发生。用例是什么?