These are chat archives for arenanet/api-cdi
Oh, regarding what happened to gw2spidy, making it somehow update again by me manually visiting the API endpoint (at first, it's now crawling every 5 minutes automatically for the time being), is making me remember of something familiar. About 1.5 weeks ago I had a similar issue with gw2efficiency not properly updating my account's TP current buy orders (which I guess is well-known at this point). And after I visited the API endpoint manually myself, the API suddenly updated and efficiency started showing my orders. Now, I'm fairly certain that efficiency's frontend gets those orders from XHR through the browser, and not by a server proxy. So I'm not sure what kind of shenanigans happened here.
Anyway, the same thing happened just now. A few minutes ago, the API still showed 133 amalgamated gemstones in my buy orders that had been fulfilled some time ago already (I just visited it now, without doing that for the past week or so). About a few minutes later I refreshed it, and it now shows the correct buy order of 3 smooth scales.
I just started matching these two issues together as they seem to have similar solutions somehow. Although, the question remains, is caching the problem? And if it is, is it somehow affected by the originating IP and/or request headers? Like what you can see with gw2spidy continuously requesting the exchange data (presumably from one server IP) with (probably) quantity parameters that barely anyone uses besides gw2spidy, with however no up-to-date and seemingly stuck results. And then I come along requesting the page from a different IP and with different headers, and it suddenly starts updating again on that exact moment.
I hope what I've typed is clear enough for everyone to understand what I'm getting at. I'm not sure if this is correct at all (or if these two issues are related at all), but this definitely is some food for thought.
/v2/commerce/exchangeendpoint for this? I am not 100% sure but I think it might be (accidentally?) set to 60 minutes TTL
/v2/commerce/exchange/coins) with the quantity of 100,000,000 coins became stuck again right after the patch