So I wonder it does cache stuff somewhere, right?
It doesn't.
If you don't see new data, this could have many reasons. Most bigger web services use server-side caching for performance reasons, for example using caching proxies like Varnish and Squid or application-level caching.
If the problem is caused by server-side caching, usally there's no way to force the server to give you the latest data.
For caching proxies like squid, things are different. Usually, squid adds some additional headers to the HTTP response (response().info().headers
).
If you see a header field called X-Cache
or X-Cache-Lookup
, this means that you aren't connected to the remote server directly, but through a transparent proxy.
If you have something like: X-Cache: HIT from proxy.domain.tld
, this means that the response you got is cached. The opposite is X-Cache MISS from proxy.domain.tld
, which means that the response is fresh.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…