I'm maintaining an applet. All jars are signed. Aside from the applet jar itself, it requires 9 additional jars totalling >30MB (I didn't originate this design).
I know Swing, but next to nothing about applet deployment.
Security is web-based (SiteMinder)
The serving page's <OBJECT> entry looks like this:
(It does not use the cache_archive_ex tag, which I have seen mentioned in forums and articles, but do not completely understand)
I have the 1.5 plugin. I open the cache and clear it, but keep it open to watch the arrival of the jars. I also have FileMon running to watch the access of the files in the cache.
So, hit the applet page, and in the console you see several blocks of output, where it's retrieving each jar specified in the <OBJECT> tag of the serving page. Each block passes by, stalling as the file downloads. When the log continues, the file has appeared in the cache. All good. I understand that much.
The cache viewer now shows all 10 jars, and the URL for each one is the SERVER url of the jar, as specified in the HTML page that served the applet.
So now, the app starts to load. By this point I've seen thousands of hits on the locally cached jars, meaning the applet is using them as it initializes.
Now, in the console, what I see for each jar again is a block of code. Different from the first blocks, where the console was saying
over and over... now it's saying:
And with each such block there is a pause. That pause is congruent with the size of the jar. essd9 (Actuate's eSpreadsheet jar) is 19MB... the pause is 2 minutes. xerces.... maybe 5 seconds, and so on.
My Question:
If you set up an applet-serving page to force the download of a bunch of jars... and caching is turned on in the plugin....and FileMon shows that the application is using those jars...
Then why does the console appear to be downloading the jars on the server again.... why is it hitting those originating URLs... and not just referencing them for a second... long enough that it FEELS like a download (even though the cached versions don't change)?
ANY help at all would be very much appreciated.
Thanks in advance.
digital_nomad
(UD: added linebreaks to preserve layout)
[ January 25, 2008: Message edited by: Ulf Dittmer ]