首页 > 代码库 > 如何禁止js缓存?

如何禁止js缓存?

<html>
<head>
<script type="text/javascript">
    document.write("<script src=http://www.mamicode.com/‘**.js?"+Math.random()+"‘><\/script>");
</script>
 
</head>
</html>

 

如何禁止js缓存?