WordPress.org

Making WordPress.org

Opened 7 months ago

Last modified 7 months ago

#5780 new enhancement

Defer and move navigation.js — at Initial Version

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: General Keywords: performance seo
Cc:

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.

Change History (0)

Note: See TracTickets for help on using tickets.