Does new content get optimized automatically?
New content added to your store through the Shopify admin is automatically optimized:
- If image compression is enabled, images in new products will automatically be compressed. New images added to the theme's assets folder will also be compressed automatically.
- If app optimization is enabled, new apps will be deferred automatically.
- New sections and blocks added through the Theme Customizer are optimized as they use already optimized code.
- If Product Description LazyLoad is enabled, new product description images are automatically LazyLoaded.
If a developer makes changes to your theme's code, this code will not be optimized automatically. Safety is Hyperspeed's first priority, and changing new theme code can cause bugs. As a result, we won't automatically optimize new code added to to the theme.
After making changes to the theme code, it can be helpful to click Rebuild Cache from the Hyperspeed dashboard. This will update your theme's Inline Critical CSS, and force the app cache to update immediately. More information on this can be found in the guide: What Does Rebuild Cache Do?
If a developer adds new image code to the theme, Rebuild Cache will not add LazyLoad to that code. Please do the following to add Hyperspeed's optimizations again:
- Open the Hyperspeed app from your Shopify admin.
- Scroll down to the Theme Optimization section and click Edit Settings to open your Theme Optimization Settings.
- Uncheck LazyLoad in the settings. Then click Generate Preview and wait for the preview to be generated.
- In the Theme Optimization Settings,re-check LazyLoadand click Generate Previewagain.
- Check the preview for any issues and click Publish Optimizations if everything works as expected.