Caching: Applying JavaScript and CSS file updates - akumina/AkuminaTraining GitHub Wiki
Applies to
All versions
Overview
When changing a Javascript file referenced in a master page, you will want to have end users fetch the updated version. There is a way to do so.
Technical details
Edit the SharePoint master page to append a v value (for version) to the end of the desired file url. For example, for the digitalworkplace.custom.js file, you would alter it as such:
/style%20library/digitalworkplace/js/digitalworkplace.custom.js?v=20200226
Note: for modern, this is also applicable for the Akumina Single Page Application