<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.
To learn more, see
rel=modulepreload at MDN.
Compatibility (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 Standard (#link-type-modulepreload), from HTML Workstream (WHATWG).