Hi,
I created a javascript file of some common functions and added it to the portal using web files. This part is working fine. I was able to reference the functions within this javascript file.
However, any changes that I make to this javscript file do not show up on the portal pages. E.g. if I add a new function, or edit a function, I cannot see those changes. For some reason it still shows cache of old javascript. I have tried clearing the cache, clearing the config, but can't get over this issue. I even tried closing all browser windows, but the problem persists.
The only way it works is if I delete the web file record completely and create another web file with a different name, and attach the javascript file to it again.
If I delete it and recreate it with the same name, it again shows the old code.
This common functions library will keep growing, and I am running out of names for this web file 🤔 . Anybody know what I'm doing wrong ? Anyone else face the same issue ?