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

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.”


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



Thanks. That’s what I was looking for.

1 Like

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