I am working on a site locally, which has a lot of <textarea> elements.
However, everytime I reload the site the content in the <textarea> is still there. This only happens when I hit reload / F5.
What can I do to stop the site from being cached, without using any in-browser functions.
I am looking for a solution within the site, so when other users in my office opens it, they won’t have the same problem.
You can disable it in your html by setting the autocomplete attribute to off:
You could also disable it for the entire form:
https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion