Assuming you are decreasing client-side javascript and / or css assets, you can check if there was a script or stylesheet that was included in the html as:
<script src="scripts/vendor.a2d3cfb2.js"></script>
Still exists on the server - if it does not exist, you can ask the user to restart the application, since it may be an indicator of a new version of the application being deployed.
Please note that this is required using a file that often changes, if not always, when a new version of the application is deployed. If you do not have such a file or you often deploy the application with minor changes, you can use index.html to check the caching devices in the links to the stylesheets; the javascripts in the new version received from the server have changed.
A rough sketch of checking for an updated script file:
var module = angular.module('test', []); module.run(function($interval, $http) { var intervalHandle; var scripts = [].slice.call(document.scripts); var testFile = scripts[0];
source share