• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

203
Views
Delete cached version after forcing user to refresh javascript files using a version number

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?

over 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error