In my code I have a bunch of ajax requests that have the cache option set to true.
When I run my code, how can I tell whether the data was retrieved from cache or retrieved from the server (first request, or cache expired, or cache bypassed for some reason)?
Ideally, I'd like to do it within the JavaScript code itself, as I might have several calls running in parallel.