Y
Hacker News
new
|
ask
|
show
|
jobs
by
floatboth
1975 days ago
With some forms of caching it's much simpler: the browser sends an ETag or If-Modified-Since and the server is supposed to return 304 Not Modified to optimize the load if the cached resource is still valid.
1 comments
kortilla
1975 days ago
But from JavaScript I don’t think you can see that. You just get the end result of the image being served to you. You have to infer it from timing.
link
megous
1975 days ago
https://megous.com/dl/tmp/705dc9a2477d1f95.png
For cross-origin, you'd add CORS.
link