Images not caching between sessions

Discussion in 'ASP.NET / ASP.NET Core' started by AshW, Apr 7, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. This is only happening on some machines and on some sites. It happens on our pages hosting on discountasp.net, as well as the discountasp.net pages themselves (http://discountasp.net)

    The problem is that images are not being cached between sessions. Well, they are being cached. They're being saved in the local temporary internet files directory. But if we shut down the browser, restart it, and go to http://discountasp.net again we can see the delay as the images load again, despite being saved in the cache.

    This is only a problem in Internet Explorer 6. The caching works fine in current versions of Netscape, Firefox and Opera. The caching also works within a given session. If I change a page and go back to the same page the images load and the page renders instantly. It's only a problem if I close the broswer and then opening it and go to the page again.

    I have no idea if this is a server issue, a client issue or an asp.net issue. I've been looking on google and haven't found any information. Any ideas or avenues of enquiry would be appreciated!
     
  2. This is probably because the browser checks to see if the images have changed or if it should use the cached ones. It does this Once per session. This could explain why it takes a bit longer.
     
  3. quote:Originally posted by blabberblog

    This is probably because the browser checks to see if the images have changed or if it should use the cached ones. It does this Once per session. This could explain why it takes a bit longer.
    </blockquote id="quote"></font id="quote">

    Is this specific to ASP.NET? I'm only seeing the delay on ASPX pages, not on any other sites (even other sites with a lot of graphics).
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    So if you load the image directly, you do not get delay only when you pull up the whole page?



    quote:Originally posted by AshW

    quote:Originally posted by blabberblog

    This is probably because the browser checks to see if the images have changed or if it should use the cached ones. It does this Once per session. This could explain why it takes a bit longer.
    </blockquote id="quote"></font id="quote">

    Is this specific to ASP.NET? I'm only seeing the delay on ASPX pages, not on any other sites (even other sites with a lot of graphics).
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page