Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Javascript url and browser caching
RAP Javascript url and browser caching [message #1393231] Thu, 03 July 2014 09:10 Go to next message
Eclipse UserFriend
Hello,

Accessing to the same application but packaged with different RAP version, from the same browser instance, client crashes probably because rap-client.js and resources.js are cached.

For example, if you start a jetty with RAP 2.2 demo, and another jetty on the same machine with a different port and RAP 2.3 demo, from the same browser instance, it is not possible to switch from RAP 2.2. to RAP 2.3 demo, without having client error.

Port is not taken into consideration by browsers for caching, so it wrongly chaches rap-client.js for both

This could be solved by having rap version part of the url for ressources, /rwt-resources/2-3/rap-client.js for example

I agree it is a quite minor issue, but it can be ab bit anoying during an upgrade process, if you have users accessing your application, if you upgrade it with a new RAP version, all users that still have their browser instances kept alive between the 2 versions will face the error.

Is it seomthing that could deserve a bug ?
Regards,
Arnaud
Re: RAP Javascript url and browser caching [message #1393800 is a reply to message #1393231] Fri, 04 July 2014 05:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi.

> Is it seomthing that could deserve a bug ? Regards,

I'd say so. It definitely looks broken to the user.

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP Javascript url and browser caching [message #1456609 is a reply to message #1393800] Thu, 30 October 2014 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Is there already a bug reported? Faced today the same issue...

Thanks in advance
Stefan
Re: RAP Javascript url and browser caching [message #1456621 is a reply to message #1456609] Thu, 30 October 2014 10:54 Go to previous message
Eclipse UserFriend
Yes... here it is:
439008: RAP javascript url should be unique per version
https://bugs.eclipse.org/bugs/show_bug.cgi?id=439008

Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:How to add static resources and a welcome page to RWT Standalone?
Next Topic:Behavior of the URLLauncher service on different Browsers
Goto Forum:
  


Current Time: Fri Jul 25 01:33:42 EDT 2025

Powered by FUDForum. Page generated in 0.19418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top