GeeCON Prague 2014*
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


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: 353
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
 
GeeCON Prague 2014
 
subject: httpheader no caching off pdf?