I am having a little trouble with a lottie animation I hired someone to make for me.
The problem is this:
I have turned on Asset Optimization but when I check the network tab I have the lottie js file as a code 200 and also as a 304. One was cached and encoded, but the other one was not.
Is this something I can fix through Netlify or do I need to go back to my graphics guy?
Site name : https://the-site.netlify.app/
Thanks for your time
That error is complaining about the file not being served over GZip or Brotli. Netlify applies those compressions by default, but the JSON file is being served from: https://lottie.host/339573de-286a-4023-b56e-03a5f0feebbe/4MANTn4rUX.json, and that server is not applying those compressions. If you host the JSON on Netlify, I believe the compression could be achieved.
With that being said, the file takes 0.25 seconds to download (TTFB + download):
I’d personally not worry about it.