TLDR Web Dev · ARTICLES & TUTORIALS
GET ALL THAT NETWORK ACTIVITY UNDER CONTROL WITH PRIORITY HINTS
Summary from the TLDR Web Dev newsletter
There’s a lot of activity going on in a browser’s network tab. The browser is very good at prioritizing resource requests, but not always great. For example, a payment request should have higher priority over an analytics request, but the browser has no way of knowing this priority without explicit specification. Priority hints can be used to provide explicit instructions to decide which requests to favor over others when resources are limited. This article looks at how and when to use four different types of priority hints.