The shortcuts for this are Command+Option+C for Mac and Control+Shift+C for Windows, Linux, and Chrome OS users. If you want to test or run JavaScript or view logged messages in the Console panel, just hit Command+Option+J for Mac and Control+Shift+J for Windows, Linux, Chrome OS.
Open Developer tools ( Ctrl + Shift + I or Settings Icon at the top-right of your browser window => Tools => Developer tools ) on the needed page, switch to the Network tab and reload page. In the Size column you'll see the size of everything loaded (Documents, Stylesheets, Images, Scripts, ...).
Hover your mouse to developer tools then hold the CTRL , scroll up or down the wheel of your mouse.
The size of the resources (images, JavaScript files, CSS files, etc.) web applications deliver to end-users directly impacts performance. It's important to be clear on two key ways to measure size: Transfer Size and Resource Size.
"Size" is the number of bytes on the wire, and "content" is the actual size of the resource. A number of things can make them different, including:
From the docs:
Size is the combined size of the response headers (usually a few hundred bytes) plus the response body, as delivered by the server. Content is the size of the resource's decoded content. If the resource was loaded from the browser's cache rather than over the network, this field will contain the text (from cache).
Size
is the size of response itself, and Content
is the size of resource, that you are accessing.
Compare:
empty cache:
main.js GET 200 OK .. Size: 31.72KB Content: 31.42KB
cached:
main.js GET 304 Not modified .. Size: 146B Content: 31.42KB
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
If you don't see the second value (content) you need to click the "Use large request rows" button inside Chrome Network tab:
I found this thanks to the answer on this question here:
Chrome Devs tools - where's size and content?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With