Avoid publishing old JavaScript in modern browsers
-
Hello,
The plugin has a red flag on the PageSpeed Report that says:
“Polyfills and transformations allow older browsers to use new JavaScript features. However, many are not necessary for modern browsers. For your integrated JavaScript, adopt a modern script implementation strategy by detecting module/nomodule functionality to reduce the amount of code sent to modern browsers while maintaining compatibility with legacy browsers.”
The file in question is from Age Gate: https://dourowineselection.pt/wp-content/plugins/age-gate/dist/all.js?ver=3.4.0
Please find the screenshot in this image: https://prnt.sc/hFl7q7Jmj-tk
Best regards,
RC
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.