CATEGORY · Performance · B09
CDN (Content Delivery Network)
A CDN distributes resources through a network of servers and caches. It can bring media closer to visitors but does not replace file or theme optimization.
Full definition
A CDN distributes resources through a network of servers and caches. It can bring media closer to visitors but does not replace file or theme optimization.
Concrete Shopify example
Illustrative example: use Liquid filters to generate an appropriate image URL instead of hardcoding a Shopify media host.
My take
Check served dimensions and cache headers. An oversized file still costs bandwidth even when served nearby.
Related terms
More terms: Performance
Go further
Sources and editorial context
Teo Comyn · Updated
Technical references consulted for this revision. Illustrative examples are not measured client results. Check the current documentation and your store before applying a change.
Editorial policy