API resolution / caching
Those are all on a ~5 minute cache.
Thanks for the information!
I think I’ll change the update frequency of my application to a little more than 5 minutes to prevent getting the same result twice.
(edited by das Keks.5403)
If I called /v2/characters/[name] with a key that doesn’t have the builds permission and then immediately called it again with a key that does, would the second request just return the cached data from the first request or would it also include the specializations?
Tarnished Coast – Dissentient [DIS]
All classes
If I called /v2/characters/[name] with a key that doesn’t have the builds permission and then immediately called it again with a key that does, would the second request just return the cached data from the first request or would it also include the specializations?
Cached data from the first request. The backend server just pulls the entire account/character blob from the database and caches it in its entirety — the permissions are enforced when serializing out the blob.
Even the no-cache header doesn’t help ?
https://forum-en.gw2archive.eu/forum/community/api/API-resolution-caching
Nope, cache-control request headers are completely ignored.
Otherwise one of the game db servers would fall over <3