Hans-Werner Hilse wrote:

> Hi,
> 
> On Fri, 08 Sep 2006 12:19:31 +0200 bruno <[EMAIL PROTECTED]> wrote:
> 
> 
>>This is a question about PDFs generated on the fly, served to a
>>browser.
>>
>>X wrote:
>>
>>
>>>Ok, I don't have problem with caching it. I have problem with
>>>caching time. I would like that the IE remove pdf file from cache
>>>after e.g. the "back button". The IE delete the html files from
>>>cache after the "back button", but not delete the PDF files. 
> 
> 
> How are you setting caching behaviour? If your HTML uses
> http-equiv-META-tags, that is not only bad design but only duct-tape.
> Instead of pushing http protocol headers into HTML, you should be
> sending proper http headers for both HTML and PDF. How this can be
> archived depends on the webserver in use. See
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
> for the details.
> 
> You probably want "Cache-Control: no-cache" and maybe 
> "Pragma: no-cache". For implementing that e.g. in apache, see the
> Header directive:
> http://httpd.apache.org/docs/2.0/mod/mod_headers.html#header

Thank you for your answer.
The OP used:
   Cache-Control: no-store
   Pragma: no-cache
See http://article.gmane.org/gmane.comp.java.lib.itext.general/25370
I forward this to the iText mailing-list.
br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to