Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Caching problem of JSP page

Prevent caching of JSP Page



8:25 pm on Feb 20, 2002 (gmt 0)

Inactive Member
Account Expired


What measures should be taken to prevent caching of the JSP Page , this Page does not return any dynamic content.
e.g login Page , login.jsp
2:06 pm on Feb 20, 2002 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
votes: 61

Your server will have to return a "nocache" header for the .jsp object.

If you can afford too, you could put it behind a secure login.
You could also include some random strings in the url (probably not).

Other than that, I'm not aware of anyway you could do it.