If you also cache Store API responses at the CDN, the cache key must include every header in the response’s
Vary header — see HTTP caching of Store API responses.


Dedicated CDN Host
The setup above caches on your primary domain and needs no extra configuration. If you instead serve assets and images from a separate CDN hostname (e.g. a CloudFront or Fastly distribution atcdn.example.com with your app as the origin), set the CDN_HOST environment variable:
SPREE_HOST. Host only, no protocol — URLs keep the scheme of your primary host.
