A script that adds a random number does not let the browser read the cache

  • 2020-03-30 03:51:37
  • OfStack


<script type="text/javascript"> 
   //In order to be compatible with the higher version of chrome browser, the cache cannot be read here, so the script is introduced in the form of a random number
   document.write("<s" + "cript type='text/javascript' src='../../Scripts/KindEditor/Editor/kindeditor-min.js?" + Math.random() + "'></s" + "cript>"); 
</script>

Related articles: