Caching with JSP and HTML5: how to disable caching server-side
问题 I've a Jsp that returns this html 5: <html> <head> <title>Application</title> <!-- Some script includes here --> </head> <body> <!-- My html here --> </body> </html> At the moment the user need to disable caching into the browser, else the old page is reloaded every time. I tried to force no-caching with a scriptlet in that way, but without success: <% response.addHeader("Cache-Control","no-cache"); response.addHeader("Expires","-1"); response.addHeader("Pragma","no-cache"); %> Asde the fact