Harry Roberts @csswizardry.com · Feb 7

I have a client at the moment who has a FIVE MEGABYTE STYLESHEET which just took 6s to fetch over train wifi.

5 likes 2 replies

?

Replies

Harry Roberts · Feb 7

This is misleading. It’s about 600KB over the wire; 5MB decompressed.

Harry Roberts · Feb 7

Because this stylesheet is defined before some JS, for that entire 6 seconds, their main thread was unable to do any work (other than some receive data events). Totally blocked by CSS. That goes some way toward explaining this: