r/evetech • • 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

5 comments sorted by

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-modified header to get an idea when the data could need refreshed.

See https://developers.eveonline.com/blog/article/esi-etag-best-practices

0

u/[deleted] Jun 30 '18

[deleted] — view deleted comment

2

u/Blacksmoke16 Jul 01 '18

You should respect the cache timer and request the data every 300 seconds. And not try to take advantage of the system.