Official response from Jesse Haff
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
Sign in with
How can I link to files externally then? If I upload an image to an event, I get a Cloudfront URL when I right-click, as per the theme documentation, e.g. http://d3n8a8pro7vhmx.cloudfront.net/slug/pages/369/attachments/original/1400027153/filename.jpg?1400027153
Thanks.