Author |
Message |
06/03/2015 07:30:05
|
mbreyer
Power User
Joined: 02/07/2013 16:08:31
Messages: 42
Location: Cologne
Offline
|
Hi,
we are using the Browser Component, to display some HTML-Pages.
It seems that this Component ist caching all these Pages by default, so rolling out some ne Versions of these Pages is quite an effort.
Every User needs to clear his browserhistory to see the latest Version of the Page. Thats hard to explain for our customer.
Is it possible to disable this caching in captaincasa or is it complete dependent of the browsersettings?
No-Caching Metadata Tags are no option, as the pages are generated by a tool out of an dokument.
Or is there a better componente to display HMTL+JavaScript and is independet from browsersettings?
Kind regards,
Mario
|
|
|
06/03/2015 07:46:49
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
fyi: we are internally using: http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fapi%2Forg%2Feclipse%2Fswt%2Fbrowser%2FBrowser.html - so this is the level os possibilities...
But: please pay attention. The BROWSER-URL must really change in order to make the BROWSER component reload its content. Maybe this is the problem that you are expriencing?
(For other components we in the meantime always use a TRIGGER in order to start things on client side, the BROWSER component was "born" too early, so the component really waits for some change in the URL to reload.)
It may be some good idea to append some stupid string to your URL, e.g. "http://www.CaptainCasa.com?harry=1" and then "http://www.CaptainCasa.com?harry=2" so that the BROWSER really updates its content.
|
Björn Müller, CaptainCasa GmbH |
|
|
06/03/2015 07:52:30
|
mbreyer
Power User
Joined: 02/07/2013 16:08:31
Messages: 42
Location: Cologne
Offline
|
So appending the current timestamp as some dummy parameter should solve it.
We'll try it, thanks for the quick answer.
Regards,
Mario
|
|
|
|