Leftover codes blocking page load speed

Dotflakes
Excursionist
22 0 9

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

0 Likes
oreoorbitz
Shopify Partner
97 10 63

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
JoesIdeas
Shopify Expert
1195 106 290

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.

Founder of Speed Boostr (Shopify optimization experts, theme customization, custom app development).
Creator of Shopify Analyzer (first performance analysis tool for Shopify sites, free for the Shopify community).
Creator of Order Automator (auto tag orders and customers + auto fulfill orders + email notifications).
Creator of Theme Scientist (A/B testing app) and Tip Jar (add a tip button to your store).
Dotflakes
Excursionist
22 0 9

Thanks 

0 Likes
Dotflakes
Excursionist
22 0 9

Hi Joe,

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

Moni