Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

caching class-files

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Get out of my mind! Look! A tiny ad!
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic