rankmath/seo-by-rank-math

Leverage the new script API strategy feature to defer front end scripts

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Improve performance and future compatibility by using the new defer strategy for front end scripts.

Describe the solution you'd like
This PR contains the changes I am proposing: #253

Describe alternatives you've considered

  • A manual approach to adding defer - too complex and fragile
  • Keeping in_footer => true - doesn't leverage defer, browser may discover script later, scripts after this are still blocked