Shopify’s native Content Delivery Network (CDN) is the system for managing dynamic image transformation and optimisation. All optimisations happen in real time, delivered to users by Shopify’s server network with little to no wait time. The CDN has three key features:
1. Compression
File sizes are automatically optimised via compression when uploaded to Shopify’s CMS. To the human eye, the changes are microscopic. But for overall site weight and load times, they’re monumental.
2. Format conversion
The CDN automatically detects optimal client-side file formats and converts all images to the best option. If using a modern, updated browser then images will likely be converted to WebP or AVIF, but JPG is kept as a fallback for customers on older systems.
3. Dynamic editing
Keeping hold of the original file, dynamic editing allows users to crop and transform images inside the CMS. Indicated your desired image state using URL parameters and these will be used on-the-go to transform the file on your front-end.
The original file remains unpreserved and untouched.