Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make client load new html page with new java applet
    primarykey
    data
    text
    <p>How can I make the browser of a client load the new version of the html page with a new java applet?</p> <p>We updated a system in the field, but when the client connected to the web server, the old java applet was still shown (from the cache).</p> <p>How can I force (preferably from the server side) the client to load the new version instead of the one from it's cache?</p> <p>Old system (before upgrade) :</p> <ul> <li>old linux version (more than 10 years old)</li> <li>old apache webserver (more than 10 years old)</li> <li>old java applet (separate class files) (about 2 years old)</li> <li>old index.html in webserver root dir (about 2 years old)</li> </ul> <p>New system (after upgrade) :</p> <ul> <li>same IP address and port as the old system</li> <li>windows xp embedded</li> <li>apache/2.2.21 (win32) webserver</li> <li>new java applet in jar file (all different class names from the old version)</li> <li>new index.html in webserver root dir</li> </ul> <p>The user is using Chrome on a Windows XP machine</p> <p>When the user loaded the page in Firefox, the new java applet was shown and working flawlessly. (He never loaded the old java applet in firefox)</p> <p>[EDIT]</p> <p>adding the lines from looper to my httpd.conf did not lead to any errors, but i am not sure if it works either ...</p> <p>i don't seem to be able to reproduce the caching problem of my client : when i change something the in the applet and load it again from another computer, then nothing changes, but when i reload a few minutes later, it does show the new version .. without or without those extra lines with CacheDisable</p> <p>when i search my httpd.conf for "cache" then all i find is :</p> <pre><code>#LoadModule cache_module modules/mod_cache.so #LoadModule disk_cache_module modules/mod_disk_cache.so #LoadModule file_cache_module modules/mod_file_cache.so #LoadModule mem_cache_module modules/mod_mem_cache.so </code></pre> <p>so it seems no caching is enabled ?</p> <p>when i add the line with CacheDisable by itself (without IfModule), then Apache doesn't want to start, so it probably corrupts httpd.conf ?</p> <p>[EDIT2]</p> <p>as the server OS, web server, java class names, and all filenames except index.html are different from the old version, it must be the cached index.html which is the cause of the problem. I added the meta tags from FrancescoMM's answer to my index.html, and hope this will prevent the problem for future releases</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload