Cache issues with dynamic json file using AjaxRequest Op

I have a patch that gets data using the AjaxRequest Op from various json files that are dynamically updated. There’s one json file I have created and hosted myself, which doesn’t update in the patch as the others do. Only when I change the filename does it update, and this is obviously not ideal.

I’ve contacted my hosting and they’ve said they can’t do anything to help… So is there anything I can do in the patch to ensure that the browser always downloads an up-to-date version of the json regardless of caching (browser or server)?

Thank you!

attach a parameter with a random number or string to your url, like ?nocache=1234

Thanks so much for the tip!