Netscape4.6 + Java Plug-in 1.3 (JRE 1.3.0-C) で、キャッシュ指定の動きメモ2
ケース2 jar ファイルを caceh_archive で指定、かつ cache_option="No"
1回目・キャッシュなし
==== Request ==== GET /MyApplet.class HTTP/1.1 User-Agent: Java1.3.0 Host: localhost Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive ==== Request ==== GET /MyApplet.class HTTP/1.0 Referer: http://localhost.html Connection: Keep-Alive User-Agent: Mozilla/4.6 [ja] (WinNT; I) Pragma: no-cache Host: localhost Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* Accept-Encoding: gzip Accept-Language: ja Accept-Charset: Shift_JIS,*,utf-8 GET /MyApplet/class.class HTTP/1.0 Referer: http://localhost.html Connection: Keep-Alive User-Agent: Mozilla/4.6 [ja] (WinNT; I) Pragma: no-cache Host: localhost:8080 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* Accept-Encoding: gzip Accept-Language: ja Accept-Charset: Shift_JIS,*,utf-8 ==== Request ==== GET /MyApplet/class.class HTTP/1.1 User-Agent: Java1.3.0 Host: localhost Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive
これはちょっと不思議な動き。ブラウザもPlug-inも両方とも起動クラスを拾いに行っている。せっかくCACHE_ARCHIVEで指定しているのに、アーカイブをダウンロードしに行ってくれない。ここはほんとはアーカイブをダウンロードしつつキャッシュしない動きが正解な気がするが。なお、キャッシュしないので2回目の試行はなし。