[wp-meta] [Making WordPress.org] #5780: Defer and move navigation.js
Making WordPress.org
noreply at wordpress.org
Wed Jun 23 08:30:00 UTC 2021
#5780: Defer and move navigation.js
----------------------------+-----------------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: enhancement | Status: new
Priority: lowest | Milestone:
Component: General | Keywords: performance seo
----------------------------+-----------------------------
https://s.w.org/style/js/navigation.min.js is loaded in the footer of all
wp.org templates, in a render-blocking manner.
The approach should be altered to:
- Move the `<script`> tag into the `<head>`
- Add a `defer` attribute
This will allow the script to be downloaded asynchronously but delay
execution until after the page is loaded.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5780>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list