fetchpriority : high | low | auto

fetchpriority="high | low | auto"


Parameter :

high - Fetch the resource at a high priority relative to other resources.
low - Fetch the resource at a low priority relative to other resources.
auto - Default mode, which indicates no preference for the fetch priority. The browser decides what is best for the user.


Example :

<link rel="stylesheet" href="style.css" fetchpriority="high">
<img src="logo.png" alt="Logo" fetchpriority="high">
<script src="analytics.js" fetchpriority="low"></script>


This attribute allows you to signal to the browser the relative priority of a resource fetch compared to other resources. This can be useful when you want to indicate which resources are more or less important for the user experience.