Fastest way to load CSS — inline vs HEAD
I have a 50x50px div I want to display on my homepage as fast as possible.
Is it faster for me to do
Or to assign it a class to avoid the inline style:
And put the myDiv class in a CSS file in the HEAD section of the HTML page?
My thought was that the first one should be faster since it doesn’t need to request and recieve a CSS? I guess ultimatley I’m asking if BODY and HEAD get rendered sequentially or in parallel.