<link rel="modulepreload">
Newly available since 2023-09-18
The rel="modulepreload"
attribute for the <link>
HTML element indicates that a module script should be fetched, parsed, and compiled preemptively, and stored for later execution.
Learning resources on MDN
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Browser support (view on caniuse.com)
- Chrome 66 Released on 2018-04-17
- Chrome Android 66 Released on 2018-04-17
- Edge ≤79 Released before 2020-01-15
- Firefox 115 Released on 2023-07-04
- Firefox for Android 115 Released on 2023-07-04
- Safari 17 Released on 2023-09-18
- Safari on iOS 17 Released on 2023-09-18
Specifications
- HTML (#link-type-modulepreload), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature