title: How to force a Java Applet to Load out of Cache
body: <p>My friend and I are developing a little game and we want to share the development stages with our friends. So I made this little page <a href="http://people.scs.carleton.ca/~manders8/game.html" rel="nofollow noreferrer">http://people.scs.carleton.ca/~manders8/game.html</a></p>
  
  <p>Right now it's one .class file that we're updating. But for some reason it always loads the old version. I know there's a way to turn off java caching but my friends aren't that competent. Plus to get people to play your game it should super easy and not requiring like 5 steps with screens shots just to try it out.</p>
  
  <p>I have this is the  tag:</p>
  
  <pre><code>&lt;meta http-equiv="Pragma" content="no-cache"&gt;
  &lt;meta http-equiv="no-cache"&gt;
  &lt;meta http-equiv="Expires" content="-1"&gt;
  &lt;meta http-equiv="Cache-Control" content="no-cache"&gt;
  </code></pre>
  
  <p>Because I thought it might be browser related but that doesn't help.</p>
  
  <p>This is my  code</p>
  
  <pre><code>&lt;applet code="com.murderbody.prototype.TitleScreen.class" codebase="http://people.scs.carleton.ca/~manders8/content/" width=640 height=380&gt;&lt;/applet&gt;
  </code></pre>
  
  <p>Changed from applet to:</p>
  
  <pre><code>&lt;object type="application/x-java-applet;version=1.5" width="640" height="380"&gt;
       &lt;param name="codebase" value="http://people.scs.carleton.ca/~manders8/content/"&gt;
       &lt;param name="code" value="com.murderbody.prototype.TitleScreen.class"&gt;
       &lt;param name="cache_option" value="no"&gt;
  &lt;/object&gt;
  </code></pre>