Jump to content
GreenSock

Sameer_mishraa

Lottie json file takes too long to load

Recommended Posts

Hey,

I have a lottie animation which I have hooked with LottieScrollTrigger function as mentioned in the helper functions sections and it's working fine as well but the issue is that it takes too long to load first time on a mobile as compared to when I test it in mobile viewport of chrome dev tools (By disabling cache). If it helps, my animation is approx 94MB in size and I have a blazing fast internet connection. 

The animation is basically a bodymovin json file of a png sequence. What possibly could be the issue here ?

Link to comment
Share on other sites

  • Sameer_mishraa changed the title to Lottie json file takes too long to load

The fact that the file is 94mb is certainly the problem. That's pretty huge. 

We can't really advise on how to make Lottie files smaller but maybe the folks in the Lottie forums will be able to help.

https://forum.lottiefiles.com/

 

Good luck!

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×