Is the app script file optimised?

Our app is comprised of a single Javascript file.

This is very convenient to minimize the app loading times, as all app code is loaded in a single request.

It also minimizes the risk of conflicting with some other app or tool code.

Furthermore, the app script is:

That allows our app code to load in milliseconds into your store:

Although our script loads very fast, it may start loading after another slow component in your store. You can change the order of the scripts in your theme.liquid template to avoid that effect.

Finally, the app script is also cached for subsequent requests, so it will only be downloaded once during a visit.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us