Reputation: 47
I looked into the code of GWT. Window.Location.reload() doesn't seem to accept an argument and by default refreshes browser with cache. I wanted to reload the browser without cache. What are the ways to do in GWT? Something equivalent to Location.reload(true) of javascript in GWT. I'm fine with any solution which refreshes browser without cache.
Upvotes: 2
Views: 652
Reputation: 64541
How about using JSNI?
public static native void hardReload() /*-{
$wnd.location.reload(true);
}-*/;
Upvotes: 2