What type of file is the lightest weight?

So I’m just curious which file to use that is the lightest weight according to my Let’s Rank SEO.

You should use shape layers for animation. then you get small file size. Some of time masking, keyframe, pre-comp make the file bigger.

thanks