before I installed Klaviyo, I wouldn’t say my site was perfect, but I would get a healthy B grade from pagespeed etc.
Even the Image for the signup form pop up loads slowly, and I optimised that image to make it as small as possible.
My server is in Singapore, do you have any CDNs in the area?
I’m using woocommerce BTW.
Best answer by cassy.leeView original
Hey Steve, this is Hansen from Klaviyo.
9 seconds is the slowest I’ve ever heard! Would you be able to share details of your PageSpeed results? I ran a test on your site and the results aren’t as bad (Klaviyo took ~220ms) but I’m not sure if it’s location-dependent since I’m in the US.
Can you try GTMetrix and use Hong Kong as the location?
I agree with
All Klaviyo js files are huge not optmized. Loading the js libraries cost almost 1MB download for each new customer
any update on this?
As far as I can see implementing a CDN for at least a few parts of the world might be the best bet.
It seems Honk Kong and Malaysia have similar timings, so I would imagine South East Asia in general will suffer this issue.
Or better still, if we are using wordpress, would it be possible for us to host our own files? As I also see a really slow clunky load of the popup images as those images also come from Klaviyo, and I’ve optimised them down to a very small size.
@skabrnes and @David B., @hansen on this and, as I mentioned to @David B. in another post around loading times for .js files, our team is currently investigating ways to improve our JS performance and prioritizing work in this area. @skabrnes regarding your questions above on Wordpress and hosting your own files…we don’t recommend that you host your own files, because if you self host, we can’t guarantee that Klaviyo features, such as forms, will continue to work properly. You could, however, upload smaller images to the Klaviyo asset library and use that to alleviate some of the loading time issues. Our team is discussing better ways to help our customers with image optimization and reduce JS sizes. We will provide an update when we learn more from the team.
Thanks so much for your patience while I investigated this further! I chatted with
Thanks so much, and we appreciate your patience on our response!
Also, loading custom fonts and big images in popups can sometimes also create a slowdown. Not sure if the amount of popups you have in Klaviyo (disabled or not) will also create speed issues?
our team is currently investigating ways to improve our JS performance and prioritizing work in this area.
Has there been any update on this ?
Thanks for sharing your question with us!
I’m not sure if you’re aware, but this Help Center Article about site speed reports and klaviyo.js has been created to explain this issues since topic creation that might be helpful and a publishing of our improvement on form success with this issue!
@Omar’s awesome suggestion of making sure you have only one signup form live on each page as more signup forms you use per page the slower it gets.
I’m not sure what you’ve done to improve your load time so far, but want to echo
Next, I see that you have injected our onsite script through your integration settings here: https://www.klaviyo.com/integration/shopify
Additionally, as injecting our onsite script through our integration settings is an option for ease of use, you can improve your page load speed by unchecking this option and Manually Install klaviyo.js for Shopify Stores to your theme.liquid file before the closing </body> tag. Here's your script required for manual installation:
Thanks for participating in the Community and bringing visibility to this so I could share more!