15 Replies Latest reply on Mar 22, 2012 8:30 AM by HA4g3n

    Reader X doesn't display Pdf stream if response contains header "Cache-Control: no-store, no-cache"


      Hi all,


      I work on a web application that, among others, generates Pdf documents. It renders them directly within the IE window by "streaming" the content of the Pdf in the response output stream. Note that we also add the header "Cache-Control", "no-store, no-cache, must-revalidate,post-check=0, pre-check=0" to the response.

      Everything was fine with previous version of reader but since I installed Adobe reader X the content of the Pdf is not showing any more in my browser.


      Here is what I already investigated:

      - if I use another machine with an "older" Reader version, it works. If I save the displayed Pdf and try to open it on the machine where X is installed  it works

      - if I remove the the Cache-Control header, then it works with reader X installation


      Do you have any idea what changed between version 9 and X that could lead to this issue ?


      To ease diagnostic I created a sandbox environment to reproduce the problem, you can go to the following address to see what's happening (or not in case you have version X installed)


      With the Cache-Control header: http://readerxissue.appspot.com

      Without the Cache-Control header: http://readerxissue.appspot.com/enableCache.html


      I must confess that I am a bit stuck and I wonder if some of you could help.

      Thanks a lot