问题
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