Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

What does *raced* from the dev tools - Network - Transferred mean?

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hello,

What does (raced) mean in transferred elements? Seems to me the browser is getting the item from the server even though I've set a cache for jpeg and png files. Other similar items are locally cached as it should.

Thank you,

Hello, What does (raced) mean in transferred elements? Seems to me the browser is getting the item from the server even though I've set a cache for jpeg and png files. Other similar items are locally cached as it should. Thank you,
已附加屏幕截图

被采纳的解决方案

The Race Cache With Network (RCWN) feature in Necko adds the ability to race the cache with the network when the cache is slow. So if reading from the disk is slow, we will send a network request, and return the channel from the network, even though we have the entry in the cache. This way we provide the content to consumers faster.

There are four possible values for the Transferred column: 1) `13.2 KB` - a number saying how much data were transferred over the wire (perhaps compressed) 2) `cached` - a labels saying that the request came from the cache 3) `13.2 KB (raced)` - request is racing. The response was fetched from the server even if it's available in the cache. It was faster to get it from the server. 4) `cached (raced)` - request is racing. The response was fetched from the cache, but a request has been also sent to the server. The cache was faster in this case.

定位到答案原位置 👍 2

所有回复 (3)

more options

选择的解决方案

The Race Cache With Network (RCWN) feature in Necko adds the ability to race the cache with the network when the cache is slow. So if reading from the disk is slow, we will send a network request, and return the channel from the network, even though we have the entry in the cache. This way we provide the content to consumers faster.

There are four possible values for the Transferred column: 1) `13.2 KB` - a number saying how much data were transferred over the wire (perhaps compressed) 2) `cached` - a labels saying that the request came from the cache 3) `13.2 KB (raced)` - request is racing. The response was fetched from the server even if it's available in the cache. It was faster to get it from the server. 4) `cached (raced)` - request is racing. The response was fetched from the cache, but a request has been also sent to the server. The cache was faster in this case.

由TyDraniu于修改

more options

Great and detailed answer. Thank you very much.

more options

What is the size of your disk cache as listed on the about:cache page?