Leftover codes blocking page load speed

Dotflakes
Excursionist
26 0 5

Hi all,

Recently I noticed that my site is loading very slow. I tried to take some measures but I get a little bit stuck. Long ago in some point I installed a bunch of apps and later on deleted due to poor performance.  I didn't know that some of them were not deleted properly; they left behind codes and liquid files behind. For example - avada, booster, bitespeed etc. I deleted pretty much all files and codes from theme.liquid files as much as I found out. Still I am not sure if there are other codes somewhere there. So far so good - this action definitely improved my page load speed but still slow. Now I am stuck with the following codes in the file theme.liquid:

<!-- Product meta ================================================== -->
{% include 'bitespeed-analytics' %} {% include 'social-meta-tags' %}

If I delete this code - {% include 'bitespeed-analytics' %}, pages are loading super fast. but site is in trouble - in mobile app menu (humburger) is not expanding. 

I would appreciate any suggestion. 

My site:  https://dotflakes.com/

Thanks

Moni

Replies 4 (4)
oreoorbitz
Shopify Partner
205 24 114

I think in a scenario like this, you'll want to hire somebody, as its hard to diagnose what what the issue might be without actually being able to go into the code and debug things properly.

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes

If your looking for a pagespeed solution for your Website, take a look at: https://renderbetter.com/
JoesIdeas
Shopify Expert
1669 143 428

What you can do is read the code of the snippet bitespeed-analytics. It will be in the Snippets folder.

You might be able to extrapolate the problem from there.

Another tactic you can try is reading the console messages to look for errors. If you're not familiar with how to work with the console, this guide will get you started: https://speedboostr.com/finding-and-fixing-server-errors/

My guess is that deleting the snippet causes a break in javascript, maybe because of another file looking for that snippet - that type of situation can cause a break in javascript, preventing functionality like menu opening.

One final idea, you might be able to contact the makers of that app and ask them how to uninstall everything. Could be that you just need to remove some other code that references that snippet.

• Creator of Order Automator (automation app to save you and your team time on admin tasks)
• Shopify developer for +10 years
• Contributor on the Speed Boostr blog
• Guy who likes to help people
Dotflakes
Excursionist
26 0 5

Thanks 

Dotflakes
Excursionist
26 0 5

Hi Joe,

Thank you very much for you suggestion. I am gonna follow your instruction. Then let's see what happens next!

Moni