Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Images keep re-downloading when re-visiting page

 
Mark Howard
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've recently deployed a web application (using Java/JSP) but find that each time I re-visit the same page all the images I have on that are re-downloaded from the server?

My browser is set up so that newer versions are not checked every time the page is visited, and the only manipulation I perform with the images is a very simple image-swap piece of javascript (to highlight the image on mouseover)

The one thing I've noticed in the Temporary Internet Files folder is that all the images that have been downloaded when I access my site are stored with an expiry date of right-now. I'm guessing that this expiry date is used to determine whether to re-use the same image or re-download it from the server. When accessing most other sites, the expiry date is set to 'none', which suggests that it has something to do with my site rather than any external internet settings.

Any ideas on this?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic