I discovered that the same images displayed in the Seller Dashboard are from https://items-images-production-f.squarecdn.com/
These images load without noticeable latency. I also noticed that the bytes transferred are lower, but the original file size is ~70kb and shouldn’t cause issues with loading anyway.
It looks like the file path to the images are the same, so I am swapping out the aws host with the square cdn host in my backend before I return the image urls to my clients.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
Hey @hannah! Any time you use a workaround that’s not an officially documented solution, there’s always going to be a risk that something changes in the future that causes that workaround to be invalid. Given that the image file path you’re using is not intended to be exposed externally, there’s no guarantee that the path will not change in the future.
That said, thank you for raising this issue! I’ll look into it and see if anything can be done here.
Hi @josh-square, thanks for your response. Yes, I’d really appreciate it if you could look into the latency from aws.
Related to this - is there a way to get the related objects with /v2/catalog/search-catalog-items ? Right now, I need to iterate through each item in the return to fetch the image data (from /v2/catalog/object/{object_id}) individually from the imageIds, which is also adding to the load time.