更新时间:2022-05-04 19:05:49
每个你建立一个新的jar小程序添加一个版本号给它时间,例如 applet.jar?建立= 123
或 build123 / applet.jar
。这是部署好习惯也因为它消除所有缓存的担忧,这或许可以通过构建的解决方案可以简单自动化例如蚂蚁
。
Each time you build a new Jar applet add a build number to it, eg applet.jar?build=123
or build123/applet.jar
. This is good practice for deployment too as it removes all cache concerns and this can probably be simply automated by your build solution eg Ant
.
另外值得一用 separate_jvm
标记考虑,详细的此处。可用自1.6更新10.这将确保一个新的JVM每一个美元,你不必担心外挂特质如内存不足异常的对$ pvents刷新由于很多刷新的。
In addition it is worth considering using the separate_jvm
tag, detailed here. Available since 1.6 update 10. It will ensure a new JVM each refresh which prevents you worrying about plug-in idiosyncrasies eg out of memory exceptions due to a lot of refreshes.