File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes HTML Caching - not working... URGENT!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML Caching - not working... URGENT!!" Watch "HTML Caching - not working... URGENT!!" New topic

HTML Caching - not working... URGENT!!

Bala Krishniah
Ranch Hand

Joined: Dec 14, 2000
Posts: 81
I have all the three options set, but it still not working.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
Can anybody tell me what I am missing? help!!
Ruyard Kipling

Joined: Apr 26, 2001
Posts: 11
what's it not doing...or doing...
Joel Cochran
Ranch Hand

Joined: Mar 23, 2001
Posts: 301
Hard to answer without more detail, but I think you are trying to prevent the page from being cached?
Unfortunately, it is my understanding that this is rarely an easy thing to do. Speaking second hand, here is what I've heard: pretty much no matter what you do, MSIE will always cache. The only time "no-cache" really works is through Secure Sockets Layer (although I don't see how this could affect what happens on the client machine...) Finally, I was under the impression that either <META...> or <META EQUIV...> were being deprecated.
Whatever the deal, I've read a lot of these but have messed with much myself.
Death to NetScape

Wait a minute, I'm trying to think of something clever to say...<p>Joel
I agree. Here's the link:
subject: HTML Caching - not working... URGENT!!
It's not a secret anymore!