Jump to content
thirty bees forum

Number of elements loaded on the checkout page


30knees

Recommended Posts

Hi,

A developer friend commented about our shop that 108 page calls / elements are loaded on the checkout page, including 30 javascript files, 28 stylesheets, and various tracking calls from Stripe, Paypal, GoogleAnalytics, etc.

Is this normal or did we get a poorly designed theme (Panda) or did we perhaps do something else wrong?

The friend seemed to be especially shocked by the number of javascript files loaded.

Link to comment
Share on other sites

@30knees it would be interesting to know a bit more about your experience with Panda. I ran some tests with Lighthouse etc on a shop that used the Panda theme and the results were not encouraging. Given that one of the focus areas of TB is performance I am just a bit afraid that the theme will have a negative impact on that. Any results/learnings you can share or the link to your shop?

Link to comment
Share on other sites

Having that many resource loads is a result of the software not being monolithic, but coming with modules. Pretty much every module comes with its own JavaScript and with its own CSS, so each has to be loaded.

Not sure whether CCC helps, didn't try. To find out one has to measure page load times. It's well possible that compressing resources takes longer than sending them uncompressed.

Link to comment
Share on other sites

The ccc file is saved and a new one only generated if the content in one of the inner css/js files change so compressing resources should not be an issue. Let us know what result you get after activating CCC. At least the number of files should go down to 1 css and one js if the modules are done correctly.

Link to comment
Share on other sites

Thank you all! I activated that and will let the friend check everything out after the holidays and get back to you.

@hubbobubbo I'm generally happy with the theme, but I don't know enough to be able to tell whether it's having a negative impact in any way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...