开发者

How to cache a java applet?

can anyone explain to me how to cache a java applet, to speed up performance when reloading the same applet on ano开发者_Python百科ther page or return.


You need to specify parameters within the applet's HTML object or embed tag:

http://download.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/applet_caching.html


Does this page answer it?

 <OBJECT ....>
     <PARAM NAME="archive" VALUE="...">
     ....
     <PARAM NAME="cache_option" VALUE="...">
     <PARAM NAME="cache_archive" VALUE="...">
     <PARAM NAME="cache_version" VALUE="...">
</OBJECT>

or

<EMBED ....
     archive="..."
     ....
     cache_option="..."
     cache_archive="..."
     cache_version="...">
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜