JavaScript causes pages to load too slowly on mobile devices

JavaScript causes pages to load too slowly on mobile devices.
Was directed here in other discussion forums.
Has anyone had a similar problem?
The tool used is the “Lighthouse” web speed test tool
my site is

Happy to help. Are you referring to the load time with the Web Payments SDK on mobile devices? :slightly_smiling_face:

I think so. It mostly affects page loading on mobile devices.
I really don’t understand how these programming languages work.
Just know it affects my site loading speed.
This slow page load can seriously affect the user experience.

Below is the link to my test results:
https://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fwww.jingstarcloud.com%2F&strategy=mobile&category=performance&category=accessibility&category=best-practices&category=seo&category=pwa&utm_source=lh-chrome-ext

When customers experience slow load times do they also have poor service? That will effect the load time. :slightly_smiling_face:

Can you be optimized for the results of the test? I don’t know what you want to express. Reviewing customer service does not seem to be a priority right now.

We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

Also is the site that’s loading slow even a Square site? It doesn’t look like it is. Who’s hosting the site? That’s who you’ll want to reach out to about the load times. :slightly_smiling_face:

Maybe you should see the test results before we can sync the topic

Below is the link to my test results:
https ://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fwww.jingstarcloud.com%2F&strategy=mobile&category=performance&category=accessibility&category=best-practices&category= seo&category=pwa&utm_source=lh-chrome-ext

Is this a Square hosted page? What’s the application ID? I don’t see any of the Square form fields on that page. I see the results however I can’t tell if this is a Square issue since I don’t see anything Square about the site. :slightly_smiling_face:

If you have the ability to do so, break your javascript into separate files. I did this once because I had an app with a “splash” screen that performed all of the loading and cleanup prior to the app starting, then loaded the script for the default operation of the app. It doubled my performance on lighthouse.

Also, if you must use 3rd party code, download it and put it as part of your cached (and up-gradable via the agent) files, where you can also minimize that code to just the functions that you actually use. This will make the files smaller.