During our last Atlanta Web Performance Meet-up, Billy Hoffman of Zoompf discussed ways to optimize images to reduce their size, increase download and rendering performance, and make your website fast! Here is a quick recap:
Topics that were covered:
– Techniques optimizing GIF, PNG, JPG images
– Free, open source tools to optimize images
– Progressive JPEGs and rendering
– WebP, and how it could change things
The Issue: Images are getting heavier, which is hurting performance. The web is obese. This is no surprise. Bulky images are the biggest problem. Sadly, pages are getting slower.
The Answer: We need to get smarter about how we use images online.
The easiest form of optimization is reducing response size. There are some obvious things you should be doing to optimize images. Some include using the correct format and making sure that they are progressive.
“HTTP Compression is not the king”
– js, css, html = 332 KB
– Only 21% of total content size
– Reducing 21% of web content by 66% is not great
Reduce image size by 25% results in more total savings than text optimizations.
Two Types of Optimizations → Lossy and Lossless
Lossless = picture perfect optimizations
Lossy = Actually changing the image
→ Pings are most of the time always slower than gifs (gif uses an old compression algorithm)
-Progressive reorders data
How we handle images on the web is a massive, complex issue, but our main challenges can be pared down to a couple of main points:
- We need to get smarter about how we handle images on the web, since they will only continue to get heavier.
- We need to embrace existing formats and best practices that will make our images slimmer.
For more useful tips and best practices on this topic and related topics, visit these posts:
E-commerce revenue continues to grow,as consumers turn away from shopping in brick-and-mortar stores to shopping online. However, many businesses are not prepared for this growth because they do not fully understand the market and how to invest in...Read More
In recent years, client-side browsers have been more involved with processing code before it reaches the user's desktop, shifting away from a reliance on servers handling the bulk of this burden. Websites and applications now rely more on a user's br...Read More
Because of the multifarious nature of web clients today, it’s important to consider the usage statistics when designing, implementing, and managing your site. However, misconceptions often arise when determining what browsers to design for an...Read More
Google Webmaster Tools is a web service that allows webmasters to view the status of their sites as seen by Google and the Googlebot crawlers. In addition to indexing your site structure and content, the Googlebot crawlers also record data on perform...Read More