Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
PageSpeed Insights identifies that "storefront-banner.js" contains unused JavaScript. Shopify support says to contact Google and because due to security they cannot give access to the file. Both responses are unacceptable. This needs to be addressed as this is maliciously attacking shopify sites with no guidance how to either get shopify to load the entire file or to allow access to the file to be edited by a developer.
What's interesting is that PageSpeed Insights isn;t dinging me aws much since I put in this complaint and talked with customer service🤔.
PageSpeed Insights shows two different sections:
1. The Core Web Vitals section with data from your real visitors
2. The LAB-based data generated in a syntenic environment (headless browser, 4x CPU slowdown, network throttle). This doesn't represent real-world data but can give you some hits. If you have at least 75% of users with good LCP (under 2.5 seconds), good INP (under 200ms), and good CLS (under 0.10), then you don't have to worry.
We've seen several INP issues from real users from interactions with the storefront-banner.js, but they come from users with low-end devices.
Thank you!
Dan
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024