690 shaares
3 liens privés
3 liens privés
public static void disableResponseCaching(HttpServletResponse response) {
response.setHeader("Expires", "Sat, 1 January 2000 12:00:00 GMT");
response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
response.addHeader("Cache-Control", "post-check=0, pre-check=0");
response.setHeader("Pragma", "no-cache");
}