Is there a way to tell when ESI cache was refreshed?

esi

(Piotr Leusten) #1

I apologize if this has been addressed before, but I’ve looked and can’t find an answer.

I know, for instance, that the ESI market data has a five-minute cache on it. Is there any way to tell just exactly WHEN the cache was last refreshed?

I don’t see anything in the response header, and I don’t really want to write a script that hits the endpoint every 10 seconds for five minutes so I can see when the data changes.

I’m talking about data that is so commonly requested that the cache reliably refreshes every five minutes. I’m trying to answer the question “does it refresh on the hour, 1 minute after, 2 minutes after, etc.”

Thanks!


(Blacksmoke16) #2

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

Along with the Last-Modified header can give you a good indication.


(EveDataRules) #3

CacheUntil?


(Piotr Leusten) #4

Thanks. That’s what I was looking for.


(system) #5

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.