Trim plugin's javascript to increase mobile performance
Your reviews app is really awesome and support is fantastic. But there’s one thing which is not so good – your script is really heavy. It’s 84 KB, which accounts for 1/3 of my JS. Although it barely affects speed on desktop, we have another situation on mobile. In Google PSI which uses Moto G4 simulation for their benchmarks your widget adds 0.5 sec of script evaluation time – around 1/4 of all script evaluation time which I think is too much for reviews plugin.
Also I checked your competitors widget – it’s size differs from 20 to 45 Kb, which shows that lower size is absolutely possible. Please consider trimming your JavaScript.
Also AFAIK around 30 KB out of 84 KB is JQuery library which is already loaded by many sites. At least give us possibility to load Judge.me js without JQuery. This move alone will make file 30% smaller.
Comments: 1
-
03 Dec, '21
OlegHey, 2022 is coming - it's time to get rid of jQuery! At least loading it separately as a dependancy so it won't be loaded twice is a must. Google PSI does not like us loading that much JS.