[rosa-users] ROSA-Applet reloading every request...

Stefan F. Keller sfkeller at gmail.com
Mon Aug 15 16:53:43 EDT 2005


Thanks for your explanations. I'll try it with a (hopefully) recently
compiled ROSA applet version.

I'm still also looking on the HTTP header my MapServer generates. 
This is, what "wget -S http://tinyurl.com/9o3nn" reports in the header:

Resolving webgis.hsr.ch... 152.96.52....
Connecting to webgis.hsr.ch[152.96.52....]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 OK
2 Date: Mon, 15 Aug 2005 20:46:57 GMT
3 Server: Apache/2.0.52 (Unix) PHP/5.0.3 mod_jk2/2.0.4
4 X-Powered-By: PHP/5.0.3
5 Set-Cookie: ...; path=/
6 Expires: Thu, 19 Nov 1981 08:52:00 GMT
7 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
8 Pragma: no-cache

Apparently the server time is Mon, 15 Aug 2005 20:46:57 GMT and my
local PC shows Mon, 15 Aug 2005 22:50:51 GMT - therefore two hours

But what bothers me more is, the expiry date (Expires... 1981!) as
well as the "no-cache" instructions...!

-- Stefan

2005/8/15, Richard Greenwood <richard.greenwood at gmail.com>:
> On 8/15/05, Stefan F. Keller <sfkeller at gmail.com> wrote:
> > Thanks again - I have to check how to generate non-PNG from our linux
> > installation in order got get to work the smaller sized applet...
> With jBox, and I think this may apply to Rosa also, the additional
> code to display PNGs was only required for older Java VMs. I forget
> the exact version of the Sun Java VM in which natvie PNG support was
> introduced, but it's been there for 2 or 3 years. So you might try
> dislaying PNGs with the non-PNG version of Rosa. The Microsoft Java VM
> does not support PNGs, but Microsoft hasn't shipped their VM for a
> couple years anyway.
> The applete should definetly be cached by the browser. First place I'd
> look is at your browser settings. (I often disable caching when I'm
> developing pages, and then forget to turn it back on!). The next place
> I'd look is at the meta tags in the page header. And lastly, check
> that your server and client clocks are reasonably close. (I don't know
> much about caching, but I could envision a situation in which your
> server was a day ahead of your client, so your client was always
> seeing a newer version of the applet, but I may be out in left field
> with that...)
> Regards,
> --
> Richard Greenwood
> richard.greenwood at gmail.com
> www.greenwoodmap.com

More information about the ROSA-users mailing list