Question
· 3 hr ago

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

Product version: IRIS 2022.1
$ZV: IRIS for UNIX (Red Hat Enterprise Linux 7 for x86-64) 2022.1 (Build 209_0_23763U) Thu Oct 24 2024 17:34:46 EDT
Discussion (1)2
Log in or sign up to continue