GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes how to prevent caching in IE 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to prevent caching in IE 6" Watch "how to prevent caching in IE 6" New topic
Author

how to prevent caching in IE 6

nandkishor rao
Ranch Hand

Joined: May 24, 2006
Posts: 53
Hi,
Can anyone tell me how I prevent caching in Internet Exploere 6.0.
I have tried using meta tag in my jsp but it doesn't work.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

I found out that this deosn't works with IE 5 and above.
Pat Flickner
Ranch Hand

Joined: Nov 17, 2003
Posts: 173

Can anyone tell me how I prevent caching in Internet Exploere 6.0.
I have tried using meta tag in my jsp but it doesn't work.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


You say you're using a JSP, so try this:

 
GeeCON Prague 2014
 
subject: how to prevent caching in IE 6