Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I am developing Shopify Theme Optimizer.
I focused on Liquid optimizations.
After optimizing the theme, I compared the themes with the Shopify Theme Inspector, but with very variable results.
I'm wondering if I've made a mistake in my comparison method.
I'm comparing it to the water method.
I am publishing the theme that I will profile first.
Then I visit the home page, catalog page, product page and contact page 25 times in a row.
Then I publish the other theme that I will profile.
When I change the published theme, the performance of the first requests is slower than the others.
Is there a right way to compare theme performance?
When you publish a theme you will hit cache issues initially as the theme is newly being served.
Unpublished themes have redirects and other cruft added to the them.
Either compare results only from when each theme is live after a short time after making initial requests,
or use results from when they are both unpublished.
Also the nature of the internet is asynchronous, more so when javascript is being used.
So if your focusing only liquid disable javascript.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024