Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
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.
Thanks
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.
Hi Joe,
Thank you very much for you suggestion. I am gonna follow your instruction. Then let's see what happens next!
Moni
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024