Opened 3 years ago
Last modified 3 years ago
#5780 new enhancement
Defer and move navigation.js
Reported by: | jonoaldersonwp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | lowest | |
Component: | General | Keywords: | performance seo |
Cc: |
Description (last modified by )
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.
Note: See
TracTickets for help on using
tickets.