An Interest In:
Web News this Week
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
August 15, 2022 03:43 am GMT
Original Link: https://dev.to/manishgs/image-optimization-for-web-1106
Image optimization for web
What is Image optimization?
The goal of image optimization is to create high-quality images with the lowest file size without lossing quality. It's the process of minimizing web page load time without losing significant quality by putting images into right size, dimension, resolution and format.
Why do we need to optimize image?
- To improved page load times.
- For better browsing experience.
- To improved SEO.
How to optimize image?
- Resize your images - use crop size image instead of original image
- Use lazy loading
- Compress image using commandline tool (convert / jpegoptim) or online tool - https://tinyjpg.com/
- Use content delivery network like cloudflare, Amazon CloudFront etc
- Enable gzip compression on server
Original Link: https://dev.to/manishgs/image-optimization-for-web-1106
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To