[wp-trac] [WordPress Trac] #61734: Add the ability to handle "fetchpriority" to ES Modules and Import Maps
WordPress Trac
noreply at wordpress.org
Mon May 26 21:27:40 UTC 2025
#61734: Add the ability to handle "fetchpriority" to ES Modules and Import Maps
-------------------------------------+-------------------------------------
Reporter: dennysdionigi | Owner: westonruter
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.8.2
Component: Script Loader | Version: 6.5
Severity: minor | Resolution:
Keywords: has-patch has-unit- | Focuses: javascript,
tests | performance
-------------------------------------+-------------------------------------
Comment (by westonruter):
Note that `fetchpriority` attribute on a `script` tag is **Baseline 2024
Newly available**. It's supported by all modern browsers
([https://caniuse.com/mdn-html_elements_script_fetchpriority Can I Use?])
with >90% of all global users having a supported browser. If a browser
doesn't support the attribute then it is just ignored, making it a great
progressive enhancement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61734#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list