0

My problem is: I load a .txt file via XMLHttpRequest when loading the .html page. But it's stored in cache when my .html page is loaded again. But the content of the .txt file changes dynamically. So, how can I prevent the browser from caching my .txt file?

I've already searched for a solution, but all I found is to include this:

How to control web page caching, across all browsers?

https://wp-mix.com/disable-caching-html/

With kind regards...

rach8garg
  • 1,107
  • 13
  • 25

0 Answers0