xhttp = new XMLHttpRequest(); var data = xhttp.open("GET", "data.txt", false);
During the use of the webapp this text file may change its contents. These changes need to be reflected in the web app, i.e. the text file must be reloaded, and not be read from browser cache. However, the browser (esp. Chromium) caches the text file. What can be done that the browser always requests the textfile from the server and never caches it?
I don't have access to the apache server configuration. The app uses a lot of perl scripts to assemble the webpage that I'm not familiar with but have access to.