Priority Hints

Priority Hints is a web standard that lets developers explicitly indicate the relative fetch priority of resources to the browser, complementing the browser’s own default priority heuristics. The primary mechanism is the fetchpriority HTML attribute, which accepts high, low, or auto values and can be applied to <img>, <link>, <script>, and <iframe> elements. A priority option is also available in the Fetch API for programmatic requests. The specification was developed by Google and shipped in Chrome 101 in April 2022, with other browsers following. The most widely cited use case is marking the LCP image with fetchpriority="high" to ensure the browser elevates it in the fetch queue without waiting for the image to be discovered during layout. Conversely, below-the-fold images or low-priority third-party scripts can be deprioritised. Priority Hints do not change what is fetched, only when and how eagerly, making them a low-risk optimisation that can measurably improve Largest Contentful Paint scores.