[wp-meta] [Making WordPress.org] #5780: Defer and move navigation.js
Making WordPress.org
noreply at wordpress.org
Wed Jun 23 08:30:44 UTC 2021
#5780: Defer and move navigation.js
-----------------------------+---------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: enhancement | Status: new
Priority: lowest | Milestone:
Component: General | Resolution:
Keywords: performance seo |
-----------------------------+---------------------
Description changed by jonoaldersonwp:
Old description:
> 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.
New description:
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#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list