javascript - page reload and image caching -
i find out whenever window.location.reload(), requests images on web page sent server. images cached expiry date, think should loaded cache instead. because server 304 unmodified, have lot of images on page don't want request each image when page refreshes.
my question why browser try contact server instead of loading them cache?
thanks!
304 not modified indicates browser should reload cache. if @ bytes sent should less 1kb when reloading cache.
Comments
Post a Comment