Is there any way to reduce the lottie file size?

Is there any way to reduce the lotie file size?
which is already available on the website.
actually, i want to use some lottie file on my WordPress website but the file size is around 8MB and I want to reduce the file size is it possible?
thank you.

Hi @hossen43420, currently there is no optimization service for Lottie animations. If the file size is above 1MB, most probably the animation includes frames or a sequence of images. On average, the animations are actually less than 100KB. If they are all vector files. I’d recommend not to use anything above 1MB on your page as it would have a negative effect on both page speed and SEO.