Java Web Start - How to clear cache (or update the app from user's perspective)

后端 未结 2 1831
一向
一向 2021-02-07 07:33

After the JNLP gets downloaded in the browser it becomes cached so it doesn\'t need to be downloaded again, which is good. However, as a consequence, if I update the JAR that th

相关标签:
2条回答
  • 2021-02-07 07:52

    You can also use the jnlp property name="jnlp.versionEnabled" and value="true" where you can enter a specific version number for the jar, and that way a new one will be delivered when you release a new version.

    0 讨论(0)
  • 2021-02-07 08:08

    "The update element is used to indicate the preferences for how application updates should be handled by Java Web Start." The default attribute values would seem to "to check for updates until timeout" and "to always download updates without any prompt." For example,

    <update check="timeout" policy="always"/>
    

    Are you getting a different result?

    0 讨论(0)
提交回复
热议问题