Skip to main content
Solved

Decrease file sizes


Forum|alt.badge.img+2

Loading Klaviyo in shopify store cost almost 1MB for downloading all js files.

 

Are you serious?

How we can optimize those js scripts?

Best answer by cassy.lee

Hi @David B.

Thanks so much for sharing this in the Community forum! Our team is aware that Klaviyo .js can be flagged in performance analyses. Our team is currently investigating ways to improve our JS performance and looking into building ways to benchmark our JS more reliably.

We don't have more details on the timelines for this, but we will post in this thread and update the Community when there is more to share. 

Thanks again, 
-Cass. 

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Forum|alt.badge.img+2
  • Author
  • Active Contributor I
  • 10 replies
  • April 27, 2021

klaviyo.js - 46.8 Kb

klaviyo_analytics.js - 18.1 Kb

sentry.js - 40,1Kb

signupForms.js - 175Kb

vendors_signupForms.js -  251Kb

vendors_View.js - 127 Kb

View.js - 88.9

 

TOTAL - 748Kb


cassy.lee
Forum|alt.badge.img+9
  • Klaviyo Alum
  • 271 replies
  • Answer
  • May 4, 2021

Hi @David B.

Thanks so much for sharing this in the Community forum! Our team is aware that Klaviyo .js can be flagged in performance analyses. Our team is currently investigating ways to improve our JS performance and looking into building ways to benchmark our JS more reliably.

We don't have more details on the timelines for this, but we will post in this thread and update the Community when there is more to share. 

Thanks again, 
-Cass. 


Forum|alt.badge.img+2
  • Author
  • Active Contributor I
  • 10 replies
  • June 9, 2021

Any updates on this?

 

Community Managers specially David.To why you didn’t like my post as well?

 

How stupid this looks in this community that Klavyio workers are liking each other posts.