On a particular site I have images which shouldn't be cached. On the other hand the images shouldn't be reloaded every time the visitor changes to another page on the site where one of those images is displayed, as long as the browser hasn't been closed in between.
These headers work in that no version of the images is left on the disk, but the browser tries to reload them every time they are on a page, even within a single browser session. I am trying to emulate the behavior of cookies which are valid during the lifetime of the browser, but I haven't found the working combination of headers yet. Any idea's how I can achieve my goal?
If you use an application script to handle/output the images then you can setup a cookie or pass an id with the url to the script that handles the image based on session etc. Should work on all browsers but is more work.
If I understand right now you are setting up the header from the server for specific file types not via the application.