Vojtech Szocs has uploaded a new change for review. Change subject: webadmin: Prevent browser from caching selector script (#784379) ......................................................................
webadmin: Prevent browser from caching selector script (#784379) https://bugzilla.redhat.com/784379 This patch prevents the browser from caching GWT selector script used to bootstrap the application (e.g. webadmin.nocache.js), as this script will change after each GWT recompile. Each time the application host page requests the selector script, it appends a dummy "nocache" URL parameter with value being the current timestamp. This makes the selector script URL unique each time the browser requests the host page itself. Even if the server applies caching headers for the selector script, the "nocache" URL parameter makes each request unique from web resource point of view. Change-Id: I09c32d3eeb9f29d1c4b49a1c52013895bb78c879 --- M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/GwtDynamicHostPageServlet.java 1 file changed, 8 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/02/1802/1 -- To view, visit http://gerrit.ovirt.org/1802 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I09c32d3eeb9f29d1c4b49a1c52013895bb78c879 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Vojtech Szocs <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
