How to prevent the browser from caching a json file?

Recently I faced an interesting issue, if I fetch a dynamically updated JSON file, it shows me cached data.  The easiest way to overcome this issue is to append the source string with some random parameter, which gets ignored on the server side. This way, the browser never caches the JSON file as it appears…

Read More