Avoid serving legacy JavaScript to modern browsers
-
When I check my site performance using Google lighthouse and page speed insight, it shows the following warning regarding the WP recipe maker JS.
Avoid serving legacy JavaScript to modern browsers
Polyfills and transforms enable legacy browsers to use new JavaScript features. However, many aren’t necessary for modern browsers. For your bundled JavaScript, adopt a modern script deployment strategy using module/nomodule feature detection to reduce the amount of code shipped to modern browsers, while retaining support for legacy browsers. Learn Morehttps://site.com/wp-content/plugins/wp-recipe-maker/dist/public-modern.js
.
Any future update will fix this issue?
- The topic ‘Avoid serving legacy JavaScript to modern browsers’ is closed to new replies.