Recent projects have used jquery's uploadify, but testing in Google Chrome always crashes. Such as:
Because it is a Java project.
The solution is to add a parameter to the introduction of JS, timestamp can be, to prevent caching, so that every time the request. (This problem is because Google browser will cache files caused by)
<script type= "Text/javascript" src= ". /common/uploadify/jquery.uploadify.js?f=<%=system.currenttimemillis ()%> "></script>
These are also available online:
Based on the posts on StackOverflow,
ASP. NET Web from
<script src="/Resources/uploadify/jquery.uploadify3.1Fixed.js?ver=<%=(new Random()).Next(0, 99999).ToString() %>" type="text/javascript"></script>
ASP. NET MVC
type="text/javascript" src=@Url.Content("~/Content/uploadify/jquery.uploadify3.1Fixed.js?ver=")@DateTime.Now.Ticks></script>
Php
<script src="js/jquery.uploadify.min.js?ver=<?php echo rand(0,9999);?>" type="text/javascript"></script>
Using jquery's uploadify, the solution that always crashes on Google Chrome