Skip to content

Commit 9d2d9b6

Browse files
committed
comment
1 parent d24f215 commit 9d2d9b6

File tree

1 file changed

+4
-1
lines changed
  • services/static-webserver/client/source/class/osparc/utils

1 file changed

+4
-1
lines changed

services/static-webserver/client/source/class/osparc/utils/Utils.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,11 @@ qx.Class.define("osparc.utils.Utils", {
255255
icon: "@FontAwesome5Solid/redo/14",
256256
});
257257
reloadButton.addListener("execute", () => {
258+
// this argument, which is passed and consumed by the boot.js init file,
259+
// adds a `nocache=rand()` query argument to the js resource calls.
260+
// This forces a hard reload
258261
const noCacheUrl = window.location.href + "?qooxdoo:add-no-cache=true";
259-
console.log("noCacheUrl", noCacheUrl);
262+
window.location.href = noCacheUrl;
260263
});
261264
return reloadButton;
262265
},

0 commit comments

Comments
 (0)