Why is my Shopify site loading slowly?

nov_sg
Excursionist
14 0 1

Hi!

 

Our website is loading slow all of a sudden and seems that sometimes it is ok but sometimes is taking quite a while. And this issue seems to occur only recently. There is this particular thing "https://shopoe.net/app.js" that is taking up quite a bit of loading time but I noticed this does not occur everytime. I am not sure which Shopify app is causing this or how to solve this. Please refer to attachment for the screenshot.

 

The store theme is Turbo Theme from Out of the Sandbox.

 

Website: https://estore.novita.com.sg/

 

Hope to have some advice! Thank you in advance!!

 

screenshot02.jpg

 

Replies 18 (18)

ui-gab
Shopify Partner
211 13 55

It loads quite fast on my browser at home.

But it might be the shopoe.net/app.js

 

I've ran your site through gtmetrix which is a speed testing service.

https://gtmetrix.com/reports/estore.novita.com.sg/SS6czsTQ

That 500 error you are seeing is definitely the cause for the slowness.

 

And what's worse is it is blocking the page from rendering. I'm not entirely sure what that app does, but you can consider 3 options:

  1. consider removing it
  2. just waiting until they fix it
  3. depending on the nature of the app, you can load it asynchronously

Let me know if I can help further.

 

Cheers,
Gab

 

ui-gab
https://www.uiavenue.ca
We specialize in data analytics. If I've helped you today, please give our give our app a try (15-day free trial) https://apps.shopify.com/ui-ave-analytics and maybe write a good review.
Send me a message if you want a free data analysis consultation.
nov_sg
Excursionist
14 0 1

Hi Gab,

 

Thank you for your reply and for sharing the gtmetrix site! 

The issue is that I'm totally clueless which app is causing this script to run.

Is there any way that I can find out which particular app is causing this?

 

Thanks!!

ui-gab
Shopify Partner
211 13 55

That script is called in your theme.liquid's header which may or may not be related to a popapp script in the same area|line.

 

You should be running tests before and after installing apps and trying to note related files.

Additionally keep track of any file changes using version control.

I think the poster above mentioned that you can look at that to see which app is causing it.

 

If you need help with that let me know.

ui-gab
https://www.uiavenue.ca
We specialize in data analytics. If I've helped you today, please give our give our app a try (15-day free trial) https://apps.shopify.com/ui-ave-analytics and maybe write a good review.
Send me a message if you want a free data analysis consultation.
nov_sg
Excursionist
14 0 1

Hi @ui-gab , I just posted a screenshot of where the script is located at, not sure whether is that the correct place I should be looking. 

PaulNewton
Shopify Partner
6274 573 1319

That script is called in your theme.liquid's header which may or may not be related to a popapp script in the same area|line.

 

You should be running tests before and after installing apps and trying to note related files.

Additionally keep track of any file changes using version control.

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


nov_sg
Excursionist
14 0 1

Hi @PaulNewton,

 

Thanks!!! I tried to access the theme.liquid file and saw that this script coding is appearing below this "sca.storepickup" and "sca-customerinfo" codings.

I'm not very familar with this but do you mean that this error may be related to these app?

I do have this "Intuitive Shipping" App that have store pickup function, while the other "sca-customerinfo" not sure is it related to this app as well or is this some other app?

nov_sg
Excursionist
14 0 1

screenshot03.jpg

 

This is the screenshot of where the "shopoe.net/app.js" script is found under my theme.liquid file.

PaulNewton
Shopify Partner
6274 573 1319

comment it out and test your site

{% comment%}
....
{% endcomment %}

Then to try and track down the source click "Older versions" and find the time/date when that code appeared and try to correlate it to a change or app install.

 

Following the domain name doesn't reveal anything that helps identify the app itself, nor does the javascript it loads.

 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


nov_sg
Excursionist
14 0 1

So sorry I'm not really savvy in this, may I confirm, do you mean that i should do the following, save it and see whether this error occur again?

{% comment%}
<script src="https://shopoe.net/app.js"></script>
{% endcomment %}

 

ui-gab
Shopify Partner
211 13 55

I believe he is saying to try and narrow it down which app it came from and if it is still being used.

 

If it doesn't break anything you weren't really using that code to begin with and doesn't belong to an app you are currently using, you can probably just get rid of it.

 

Some low quality app developers will leave code inside of your theme.liquid file even after it has been uninstalled. There are much better methods for app developers to install code onto your website.

 

Cheers,

 

ui-gab
https://www.uiavenue.ca
We specialize in data analytics. If I've helped you today, please give our give our app a try (15-day free trial) https://apps.shopify.com/ui-ave-analytics and maybe write a good review.
Send me a message if you want a free data analysis consultation.
PaulNewton
Shopify Partner
6274 573 1319

I believe he is saying to try and narrow it down which app it came from and if it is still being used.

Yes commenting out such a change can help identify apps by then testing the theme for changes, missing features or errors

As can going through the older versions to correlate when the change occured

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


nov_sg
Excursionist
14 0 1

Thank you so much for both of your help and advices! @ui-gab @PaulNewton 

 

I have looked through the older version of the theme.liquid file and this code has been there ever since the very 1st version of the code.

So I still could not figure out which is the app that is causing this.

I tried to comment out the code and now the site loading improved so much!

Shall leave it as it is and monitor whether it affected any app.

 

Thank you both!!! 

 

 

PaulNewton
Shopify Partner
6274 573 1319

@nov_sg 

I have looked through the older version of the theme.liquid file and this code has been there ever since the very 1st version of the code

Hrrrm keep in mind file versions don't propagate when you duplicate a theme so if you have unpublished version you'd have to dig.

There's also the option of getting a copy of the latest version of the theme and checking if its' there.

Overall seems a little suspicious to me since a basic search turns up zero indications of what app is using that domain.

If it's not a sloppy app uninstall it could also be tracking code someone added to have I.P address data on your customers.

 

I'd definately contact the theme developers for clarification if this is supposed to be in there and if they say no remove it permanently eventually.

No need to reply.

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


Ismaelo
Visitor
2 0 0

hi @nov_sg 

 

I am facing the same problem.

Did you manage to identify which app is behind shopoe.net? It seems that isn't loading anymore on your website. 

 

Thanks in advance.

 

 

PaulNewton
Shopify Partner
6274 573 1319

@Ismaelo find the relevant line in your theme and either delete it or comment it out by wrapping it with comment tags:

{%-comment-%}
...
{%endcomment%}

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


nov_sg
Excursionist
14 0 1

Hi @Ismaelo, unfortunately I have not identify which app is causing this but after using the method that @PaulNewton mentioned about commenting it out, I managed to stop it from loading anymore. 

PetSpy-com
Visitor
1 0 1

I see that the last reply is more than a year old, but suddenly someone will find this information useful.

var appElement = document.getElementById('beappjs-wrapper-ct');if (appElement) {appElement.style.display = 'block';}

This line, which you see in PageSpeed Insights and in the theme code, appeared after installing the contact form app.

https://apps.shopify.com/beapp-contact-form

chirag_viradiya
Shopify Partner
17 2 4

Easy way to solved this issue is,

Comment your script which is inside theme.liquid file 99%
otherwise you can found in theme.js file

Before:

Screenshot 2022-09-29 at 12.29.12 PM.png


After:

Screenshot 2022-09-29 at 12.25.09 PM.png


This step solved your issue

  • Linked-in
  • Github
  • Whatsapp
  • Twitter