This is a copy of my article, originally placed here to keep all things in one place.
Some time ago, I worked with Akamai CDN, which was configured on the top of the Sitecore project. I was impressed by the different features provided on the edge. One of these features was image optimization. Image optimization is a feature that allows you to decrease image size without losing quality. I was able to turn on/off it with one click in the admin console.
Dianoga is an open-source module that is responsible for image optimization in the Sitecore world. But the more and more Sitecore websites use CDN. Let's find out what should be used and when: Dianoga or CDN Image Optimization
Before writing this article, I was under impression that all modern CDNs have image optimization features. But it is not the main and must-have feature. Let's compare the most-popular CDNs to find out, do they provide this feature?
Name | Support Image Optimization | Links |
---|---|---|
Cloudflare CDN | Yes | 1. 2. 3. |
Google Cloud CDN | No | 1. |
Amazon CloudFront | No | 1. 2. |
F5 | Yes | 1. |
Fastly | Yes | 1. 2. |
Akamai | Yes | 1. 2. 3. |
Microsoft Azure CDN | Yes | 1. 2. |
Incapsula CND | Yes | 1. 2. |
- Your CDN doesn't have image optimization feature
- Your CDN image optimization feature is not free for charge
- Your CDN image optimization feature doesn't work with formats that are widely used on your website
- You need flexibility in configuration, how images should be optimized
- You need not only optimization, but compression as well
No comments:
Post a Comment