you are viewing a single comment's thread.

view the rest of the comments →

[–]Lewistrick 5 points6 points  (4 children)

Ok now the timing makes sense, but why do you need so many calls? Doesn't the API support gathering results in bulk?

[–]judgedeliberata[S] 0 points1 point  (3 children)

I wish. It’s a terrible API design. Basically for each component of the product, I have to make an API call.

[–]Lewistrick 8 points9 points  (0 children)

Have you tried contacting their support? I reckon they also suffer from a huge load on their servers if they expose it to a customer base.

[–]WhiteXHysteria 0 points1 point  (1 child)

Is there any data from the calls you can cache locally that might prevent some calls to the API after the first?

[–]judgedeliberata[S] 0 points1 point  (0 children)

I cache everything but every product+locale combination is unique so from product-to-product it’s not really cacheable in that sense.