Hi,
I’m finding the Klaviyo javascript files that are loaded on my woocommerce site are quite large and to slow to load, especially the signup forms code. This is effecting my page speed scores, especially on mobile. Is there any way to reduce the size or improve speed.
e.g: the worst two doing a speed test on 4G with iPhone 8
https://static.klaviyo.com/onsite/js/vendors~signupForms.c5281a1cf01a6aa6b778.js is 62Kb and takes 980mSec
https://static.klaviyo.com/onsite/js/signupForms.f623ff6bb42172cd72c3.js is 35Kb and takes 540mS
The images are also a big hit and get this warning, is there a way to set them to lazy load or serve webp format (i do that with all other images on the site)
Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive
Resource | Savings in bytes |
---|---|
https://d3k81ch9hvuctc.cloudfront.net/company/XWgQBz/images/adf82c19-9267-44e8-987c-842a747773a6.jpeg | 50,511 bytes |
https://d3k81ch9hvuctc.cloudfront.net/company/XWgQBz/images/7cba6e5f-3c66-4531-b58d-29b2a2870a66.png | 40,790 bytes
|