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

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -