Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have written several scripts and tested them in the Preview builds. When those changes are published the to the live theme, I noticed the code breaking and the scripts not running in the network tab. This seems to be due to the Preview Builds having `no-cache no-store` set to server cache, while Published builds have caching on by default. I've attempted to alter the meta-tag headers, implement cache-busting etc. all to no avail.
I'm looking for advice on how to alter the server cache settings without the use of a full-stack framework like Hydrogen or Remix, and/or a method of refactoring to get these scripts to run on cache'd pages somehow.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024