Chrome Dev Tools - “Size” vs “Content”

前端 未结 4 1119
别跟我提以往
别跟我提以往 2020-11-28 02:11

When viewing information about stylesheets in the Network tab of Chrome\'s dev tools, one column specifies both \"size\" and \"content\":

4条回答
  •  孤街浪徒
    2020-11-28 02:35

    In simple terms Google article explain it as Size = Transfer size and Content = Actual size

    This is my formula based on reading various articles on this topic (and I am open to improve it further with your comments) Size = Compression(Content) + Response Header

    See the image used in this article

    Explanation by Google

提交回复
热议问题