We are having issues with cache where in old java script files are not removed. To overcome this , we are planning to use some kind of versioning as suggested in other questions
<script src="/Scripts/pages/mypage.js?ver=1" type="text/javascript"></script>
We will keep on increasing the version number for ach release. In this scenario old file and new file will simultaneously exist in the cache. This may consume unnecessary space. Is there any way to remove that old cache? Can we remove those old files through code?