Am Samstag, 5. November 2016, 09:11:40 schrieb Chris French:
> I am developing a phone app - often, when I make an update the
> application will not run because data structures have changed and
> then are now inconsistent with the cache. Anyone know how I can go
> about clearing the MGWT application cache programatically?
You can force a reload using JSNI (elemental doesn't support the
parameter, even if it is documented in the JavaDocs):
public static native void forceReload() /*-{
$wnd.location.reload(true);
}-*/;
The other thing is using REST instead of GWT-RPC, it's more stable when
data structure changes.
--
Machs gut |
http://www.iivs.de/schwinde/buerger/tremmel/
|
https://github.com/ManfredTremmel
Manfred |
http://www.knightsoft-net.de