Tuesday, December 18, 2012

Reloading the page without reloading images, sounds, ...

Hi,
I have a GWT application running on a touch screen used as a sort of kiosk. I would like that every day at midnight the browser checks if a new version exists (new background color, ...). So I wrote Window.Location.reload(). That works great, but it also reloads all the images and sounds that were in the browser cache (these images and sounds are stored as blobs, so once loaded they will not change). Is there a way to reload the page without reloading images and sounds (I also found nothing in pure javascript) ?
Thanks...

P.S.: To be clear, I would like my application to do the same thing as when I hit return several times after the URL in Internet Explorer (in Firefox it reloads all the resources).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/h8Ys1jVoS94J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment