File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Caching of Images used in Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Caching of Images used in Applet" Watch "Caching of Images used in Applet" New topic

Caching of Images used in Applet

Harish Tam
Ranch Hand

Joined: Feb 17, 2005
Posts: 71


I have been looking into caching of applet jars using the cache_option, cache_archive and cache_version parameters in the object tag, and it works fine. But my question is can i also cache the images used inside the applet, is there any way to cache them on the client side using the java plugin and load it from the client side every time the applet is reloaded, just like the jars.


SCJP 1.4, SCWCD 1.4
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 692
You could put the images in a jar file.
I agree. Here's the link:
subject: Caching of Images used in Applet
It's not a secret anymore!