Question
· Dec 10

Best Practices for Adding Query-String Versioning to JS/CSS in CSP Applications

Hello Community,

I’m working on a CSP application in Ensemble and want to implement versioning for JavaScript and CSS files using query strings (e.g., /js/app.js?v=1.0.0) to ensure browsers always load the latest files after deployment.

Has anyone implemented this? If so, how did you structure it, and do you have any best practices to share?

Thanks in advance,

Nimisha

Product version: Ensemble 2018.1
Discussion (0)2
Log in or sign up to continue