Site speed database calls

Made a dataset, added some database calls and a short custom code the site load increased massively.

Could that be cause by multiple strips?

Mobile siteload is terrible, pc too but acceptable.

Anyone see what causes the siteload issue?

https://manmachazani.wixsite.com/website-1/product-page/ad110

I don’t see an issue with load time. Loads quickly both on PC and mobile. Seems fine to me.

You do have some issues with your code:

  • You have two page onReady() functions on your ProductPage, one of which is empty. You should only have one.

  • The import statements should be at the top of the file before all code.

  • Before using a dataset in the page’s onReady() function, you need to be sure that the dataset is ready. Use the dataset onReady() function.