Hi, apologies for the odd topic title … here is the problem I am seeing.
All works well, templates are rendered, jquery is working, and my local .js files are being imported properly.
Took me a long time to get to the root of this but whenever I modify my local static .js file, it seems that the webserver is holding on to a cached version and I cannot find a way to update this old version. I can see through the browser developer console that the cached .js resource does not match the file on disk.
I have restarted the webserver, restarted the workspace, and have confirmed that there is no other file in my workspace (thinking that maybe there is a duplicate and I am not looking at the right one).
Can someone patiently explain what is happening here and how I can resolve?
I assume that this is because the browser has a cached version of the file. But why is this being treated differently to other files that I can update on the fly?
Thanks in advance.