storefront-banner.js is failing PageSpeed Insights

storefront-banner.js is failing PageSpeed Insights

r00t
Visitor
3 0 0

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.

Replies 2 (2)

r00t
Visitor
3 0 0

What's interesting is that PageSpeed Insights isn;t dinging me aws much since I put in this complaint and talked with customer service🤔.

Superspeed-Dan
Shopify Partner
3 0 0

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

+300 million real user metrics | +300k pages passed Core Web Vitals | millions of $$$ generated for our merchants with the help of Superspeed and Supercart

Write us [email protected] or [email protected]