IE and Chrome pulling old document from our website after new document is uploaded.

I believe this may be an issue with our website but whenever we upload a new document (.pdf), we have to clear our IE and Chrome cache to force the browsers to go out and get the new document.  I would think that there is something that the browsers check on the website to see if the site has changed or not and whether to pull the information locally from cache or from the website.  Our web developer recently left or I would have asked him...
Who is Participating?
COBOLdinosaurConnect With a Mentor Commented:
If the server does not indicate otherwise in the headers then the default in most browsers is to cache, and when you go back for the same file, it will use it from cache.  That is an efficiency that can get in the way sometimes.  

So what you need to do is put and expiry on files, using the server configuration.  However if this is a public web site, the user's browser setting may still override and cache anyway.  You cannot control how the user chooses to set up their browser.

* No points for this *

Cd& is spot on especially with static files like a pdf
Your options are a dynamic name or stream the file yourself from the server instead of a direct link with a non cached page.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.