by Mojah · 8y ago · 0 comments
I wrote about it here: https://ma.ttias.be/optimize-size-png-images-automatically-w...
Benefits:
- Don't have to think about it
- Optipng is really good at reducing PNG's to their bear minimum
Downsides:
- Doesn't resize images (if a 1024x768 is displayed as a 10x8, it'll still download the 1024x768)
- Only does PNG
- If your images are stored in git (and you didn't pre-optimize before committing/deploy), you can get merge conflicts
Still, better than nothing.
It helped to increase the Google's PageSpeed Insights rating from 56/100 up to 99/100.
The automatic cropping methods are pretty cool and work really well, too.