Skip to main content

Why shouldn't I link to images or other assets using a Cloundfront URL?

Official response from

Because these URLs can change over time, breaking the link. The purpose of Cloudfront is to determine where the closest geographical server is so we can more quickly serve up assets. Instead, either just use the filename of the asset, or the {{ theme['filename.jpg'] }} liquid tag. Read the theme documentation for more information.

Share this post

Showing 4 reactions

Please check your e-mail for a link to activate your account.