简体   繁体   中英

How to cache a java applet?

任何人都可以向我解释如何缓存一个Java小程序,以便在另一个页面上重新加载相同的小程序或返回时加快性能。

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="...">

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM