I am able to get recaptcha to load on a website, with the async and defer tag on it. However, when I check Pagespeed Insights against it, I see two issues: Reduce the impact of third-party code. Third-party code can significantly impact load performance. Limit the number of redundant third-party providers and try to load third-party code after your page
Tag: pagespeed-insights
PageSpeed Insights reports over 100s Main Thread Work on Mobile?
I have this website, that I think loads really fast and is nicely optimized, but whenever I run it through PageSpeed, it receives a horrible score on Mobile only? With “Minimize main thread work” being the main one, spending allegedly 124 seconds on Rendering? I’ve tried debugging it in DevTools, with the Performance tab, but even with CPU slowdown and
What is @babel/plugin-transform-classes?
I run Google PageSpeed Insights on my site, and it reports an issue that is “Avoid serving legacy JavaScript to modern browsers”, as below: I have no idea of what is @babel/plugin-transform-classes, so I search online and it seems babel is a JavaScript compiler and @babel/plugin-transform-classes is a plugin. But I don’t know or install the compiler and the plugin,
Remove unused Javascript base.js (Youtube iframe api)
Google PageSpeedInsights flags Base.js as unused Javascript in my report. It’s pretty substantial at 487kb. Appears to come from including the Youtube player iframe api. Is this file needed and if so, does anyone know why it is being flagged as unused JS in the report? Iframe API: https://developers.google.com/youtube/iframe_api_reference Large file that gets flagged on PageSpeedInsights as unused JS: https://www.youtube.com/s/player/c88a8657/player_ias.vflset/en_US/base.js