Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I am developing an applet and testing it in Netscape Navigator.I find that after I recompile, I press reload, clear the caches, retype the URL of the HTML wrapper, and I still have the old version. Why is this?

0
Posted

I am developing an applet and testing it in Netscape Navigator.I find that after I recompile, I press reload, clear the caches, retype the URL of the HTML wrapper, and I still have the old version. Why is this?

0

• A. It is because Netscape has completely failed to improve the defective code that does this monstrously wrong thing. It has been like this for many successive releases. Flushing the network cache will make no difference; that isn’t where the caching is taking place. Although applets are sometimes “pruned” and their ClassLoaders garbage-collected, this doesn’t happen predictably, so restarting Netscape is the only reliable work-around at the moment. A related question is “how do I make the browser reload from a URLConnection instead of just getting the content from the local cache?” The answer is to use java.net.URLConnection.setUseCaches(false) Browsers seem to vary in their conformance to this programmatic request. Netscape caching varies depending on whether a proxy server is in use, and which thread in the applet made the get request.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123