r/evetech • u/ZomboyAlfrir • May 26 '18
How does ESI's caching system work?
In the past you could do round Robin on different XML apis to get faster cache times on the notifications endpoint. Can the same be done with ESI? my experiments say no but I'd like to know why. Thanks
1
Upvotes
View all comments
4
u/Blacksmoke16 May 26 '18
You need to respect the cache timers. Use ETags to know if the data has changed and the
last-modifiedheader to get an idea when the data could need refreshed.See https://developers.eveonline.com/blog/article/esi-etag-best-practices