I have question regarding disabling browser caching. I have already found few solutions, and just want to know if there are better or more common approaches. So I have GWT applications and in order to disable cashing I may use next options:
- Adding to URL dummy parameter
- Putting on the HTML page
<meta http-equiv="pragma" content="no-cache">
Setting HTTP headers:
header("Pragma-directive: no-cache"); header("Cache-directive: no-cache"); header("Cache-control: no-cache"); header("Pragma: no-cache"); header("Expires: 0");