Is there a way to automatically clear or refresh the JavaScript cache during compilation or deployment in InterSystems IRIS?"
Hi everyone,
I'm working with JavaScript in InterSystems IRIS, specifically in CSP pages. One issue I'm running into during development is that the browser keeps loading the cached version of my JavaScript files, even after I’ve made changes or recompiled the code.
I would have to clear my cache files or browser history for it to reload and work.
Is there a recommended way or best practice in IRIS to automatically clear or bypass the browser cache for JavaScript? Ideally, I’m looking for a way to ensure that the latest version of the script is always loaded without manually clearing the cache every time.
Any suggestions or tips would be greatly appreciated!
Thanks,
Harshitha Balakrishna
Comments
Are you supplying a cache-control header in your response?
No I am not.