wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "httpheader no caching off pdf?" Watch "httpheader no caching off pdf?" New topic
Author

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 ???



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

Joined: Mar 23, 2006
Posts: 3
Hey

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: httpheader no caching off pdf?
 
Similar Threads
Question on cache control...
Prevent caching of pdf documents over SSL
session.invalidate doubt
Blank PDF displayed on IE once every 5 to 6 attempts
opening pdf file in servlet