wood burning stoves 2.0*
The moose likes Servlets and the fly likes httpheader no caching off pdf? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "httpheader no caching off pdf?" Watch "httpheader no caching off pdf?" New topic

httpheader no caching off pdf?

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 348
We dont want to cache the pdf document on the browsers temporary files !

I tried this, but i dosent work, any good ideas ???

[ March 31, 2006: Message edited by: Bear Bibeault ]
Vinod Dalal

Joined: Mar 23, 2006
Posts: 3

If you are just looking to see a new pdf, then you may try attaching a random number at the end of the url. so this makes sure that you dont see a cached file.

I used this approach, so that i can see a new or updated file at the same URL and it worked for mr
I agree. Here's the link: http://aspose.com/file-tools
subject: httpheader no caching off pdf?
Similar Threads
opening pdf file in servlet
session.invalidate doubt
Question on cache control...
Prevent caching of pdf documents over SSL
Blank PDF displayed on IE once every 5 to 6 attempts