This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Applets and the fly likes caching class-files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "caching class-files" Watch "caching class-files" New topic
Author

caching class-files

martin chile
Greenhorn

Joined: Jun 24, 2002
Posts: 21
how can i cache class-files (main-class and others), so that the applet is the same for every page on my website. do i just have to open the same class-files in the same directory or are there other ways.
i know how to cache jar-files but dont want to use this before i dont know how to cache class-files.
thanks for your help!
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi martin
As far as I know, the class files are cached by the Java Plug in if you are using one.
If you go to the Java Console you will find option to clear the cache which will remove the class files from the cache and reload new when requested next.
Regards
Maulin
Peter Gragert
Ranch Hand

Joined: Jan 16, 2001
Posts: 421
What I know agrees with what is just sad.
But the 'owner' may provide a *.html file (containing an applet)
which forbids caching ( a Meta ....)?!
Greetings
Peter
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi Peter,
HTML META tag for Caching doesn't affect applet caching as applet classes are cached by the JRE in the browser and not by the browser.
Correct me if I am wrong.
Regards
Maulin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: caching class-files
 
Similar Threads
Help me with broken links
back button problem
Comparing two huge files
Need help in JSTL cache.
Attribute Listener