Shopify is standardizing the way versioning query parameters are appended to store asset URLs such as CSS and JS files. Previously, URLs could end with a bare numeric parameter or key-value pairs, such as ?108 or ?v=VERSION. Now, all store assets will uniformly use the ?v=VERSION_STRING format. This change will be automatically reflected in all storefronts using Liquid asset filters.
This update is crucial for infrastructure improvements, ensuring consistency and future-proofing in asset management. Merchants using Shopify Plus need to ensure their custom themes and apps comply with this format to avoid any potential disruptions.
?v= versioning format, specifically if you use regular expressions to parse asset URLs.A merchant noticed inconsistencies in theme asset loading times due to outdated versioning methods. Post-update, CSS and JS assets are loaded consistently, reducing average page load time by 15% leading to higher conversion rates.
Q: Do all themes need changes?
A: No, only custom themes not using standard Liquid filters need review.
Q: What happens if we don’t update?
A: Assets may fail to load correctly, impacting site performance.
For more guidance, visit the Shopify theme documentation.
Need guidance? Talk to Makro.