Webstart caching

I’m really bothered by the fact that Java Webstart caches my files.

I am updating my game files frequently but Java Webstart does not detect many changes.

E.g.

  • Updates to splash image not detected
  • Updates to icon images not detected
  • Adding a jar file to the jnlp file is not detected

Isn’t there a way to FORCE webstart to redownload all files each time it runs a jnlp, and also redownload the jnlp? In effect, turn off ALL caching?

well, isnt there a version thing you can do? or is that just applets…

A thread on CodeRanch suggests that the HTTP Last-Modified header is what Webstart pays attention to.

http://www.coderanch.com/t/200803/JNLP-Web-Start/java/Java-WebStart-always-cache-jnlp

Great, having to use some sort server trickery. Thanks Sun!

:-X

I’ve been having some trouble with this too.

Sometimes the webstart cache won’t open so I can’t clear the jnlp file, it just freezes ???

Also, firefox caches the old jnlp file so even when I clear the webstart cache. After changing the jnlp file on my server, firefox still serves up the old jnlp file! So I have to clear both the webstart cache and the firefox cache >:(

AND MERRY CHRISTMAS TO EVERYONE! :smiley:

you are one day early :stuck_out_tongue:

but merry christmas to you too.