blocking=render: Why would you do that?! – Harry Roberts – Web Performance Consultant

August 16, 2024

WebKit have recently announced their intent to implement the blocking=render attribute for and elements, bringing them in line with support already available in Blink and generally positive sentiment in Firefox.

The blocking=render attribute allows developers to explicitly mark a resource as render blocking, but… why on earth would you want to do that?!

The short answer is: generally, you wouldn’t. Unless you know you need this behaviour, you don’t need it.But how do you know if you do need it? Read on…

Source: blocking=render: Why would you do that?! – Harry Roberts – Web Performance Consultant

Harry Roberts on when and why you might want to make some scripts explicitly render blocking.