When it comes to storing static assets (images, videos, fonts), it can be tempting to place them in a directory close to your site's source code. While this is certainly the path of least resistance, serving large files can become a serious drain on your bandwidth limitations. Instead, we recommend that you host static assets on an external CDN/hosting platform. Here are a few suggestions.
Please note that Nacelle does not explicitly recommend any of these products, merely suggestions.
A platform that needs no introductions, we find that most merchants already use Shopify to host product images. While Shopify currently has no storage limits overall, limits are instead placed on a per-file basis. Images have a maximum file size of 20 MB, while videos are limited to 1 GB.
Assets hosted on Shopify are served by Shopify's own CDN.
For more info see Shopify's Help Center: Uploading and managing files.
To get started:
- Login to Shopify.
- Go to Settings.
- Navigate to the Files page.
Shopify is by no means the only place to host static content, here are a few other services:
|Google Cloud CDN||✅||✅|
|Check w. your headless provider||-||-|
Curious about your bandwidth usage? See our article on monitoring your bandwidth usage (in Vercel).