Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caching of applets

 
Elizabeth Luckose
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using swing applets. browser is IE. This applet takes much time to get loaded. Is there anyway, so that I can cache the applet when it is loaded for the first time and this cached applet is loaded when I request for the applet next time?.If it is possible,can IE use this cached applet for a particular period of time.(for eg. one year).If yes, how can I set it?
I am loading this applet from the html outputted from a servlet.
So, is there any method in the response object or in any other object provided by the servlet, so that I can cache the applet for later use.
My aim is to make the load time for applets less.
Please help ..it is urgent..
Thanks
Elizabeth.
 
David Kane
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally, you are at the whim of the browser when it comes to cache management.
You might want to take a look at Sun Java Plug-in/Java Web Start. I believe that gives you some control over the caching of your class files and related resources.
David
------------------
David Kane
david_kane@houseofyin.com
Author of Software Architecture: Organizational Principles and Patterns
http://www.vraps.com
http://www.houseofyin.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic