I just want to verify my understanding. It seems that due to this change one shouldn’t have hardcoded assumptions about the link returned from a liquid tag such as
The old cdn.shopify.com/… URL format will continue to work indefinitely.
I understand that hardcoded links themselves will continue to provided the expected resources.
Is this correct? Hardcoded cdn.shopify.com links (in themes or elsewhere) will continue to work but one shouldn’t expect this form to be returned from Liquid?
Hardcoded cdn.shopify.com links will continue to work as expected, and you can still use them in your themes or elsewhere in your Shopify store. These hardcoded links will not be affected by the recent changes in the asset URL structure.
The Liquid filter global_asset_url is used to generate the correct URL for assets within your theme files. It ensures that the asset URL is compliant with the new asset URL structure. However, if you have existing hardcoded cdn.shopify.com links, they will still function correctly, and you don’t necessarily need to change them to use the global_asset_url filter.
Hardcoded cdn.shopify.com links will continue to work, but the global_asset_url filter is recommended for generating compliant asset URLs within your theme files, especially if you want to ensure compatibility with future updates and changes in the Shopify platform.
Is there any way that you can expound on that with some examples or something like that for us visual learners? I just need an example or two to understand how to update the links that need it. Is this something that will stop working if we don’t make the changes suggested when you hover over the zigzag underline?