Why transferred bytes are bigger than size bytes in firefox dev tools?

孤人 提交于 2019-12-03 16:31:46

问题


I am measuring the performance from a website. When looking at the firefox-developer-tools, I noticed a weird behavior. There is a specific JS file which the transferred size is 2,831.54 KB, but the actual size is 1280kb.

According to Mozilla, the Transferred size should be smaller or equals to Size:

Transferred (new in Firefox 38): the number of bytes that were actually transferred to load the resource. This will be less than Size if the resource was compressed.

Size: the size of the resource, after any decompression.

Firefox Developer Edition version: 41.0a2 (2015-07-19)

What could have caused this behavior?

来源:https://stackoverflow.com/questions/31508885/why-transferred-bytes-are-bigger-than-size-bytes-in-firefox-dev-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!