I'm using the js-buy-sdk and everything seemed almost fine (the docs are quite not clear), but the queries are very very very slow, although my home connexion is very fast.
How can this be fixed ?
I'm going to do an SPA, so all loading is done via ajax, no users will wait for 8 secs to see products, this will increase the rebound rate...
I'm not sure there's much you can do to improve performance of the queries since it looks like they receive a fixed maximum amount of data (as in it might be better if you could make smaller requests at a time). Have you made an issue in the public repository? I'd personally start there. I'm not seeing any solutions in documentation either.
It's not really an issue to be put in the github repo as this is directly linked to server response and not a bug code itself.
Here's another try with only one request to collection containing 12 products (that's pretty a standard number of products), but it took 4 seconds to show...
There seem to be something bad on your server's end... How can I do ? I took shopify just to be able to use your api, I could have gone with Woocommerce but I trusted shopify to have a solid infrastructure.
What are my options here except closing my shopify account and using my own server with woocommerce ?
Having similar (actually worse) performance with the API. Made another post about it, we'll see if it gets marked as spam for the second time.
Really hope there's just something I'm doing wrong, and this is not the actual server performance we have to deal with.
|2 hours ago|
|2 hours ago|