private void setHeaders(HttpServletResponse response) {
        setHeader(response, "Expires", Long.valueOf(System.currentTimeMillis() + cacheTimeoutMs).toString()); 
        setHeader(response, "Cache-Control", "public, must-revalidate, max-age=" + cacheTimeout); // HTTP 1.1.
        setHeader(response, "Pragma", "public"); 
    }
private void setHeaders ( HttpServletResponse response ) { setHeader ( response , "Expires" , Long . valueOf ( System . currentTimeMillis ( ) + cacheTimeoutMs ) . toString ( ) ) ; setHeader ( response , "Cache-Control" , "public, must-revalidate, max-age=" + cacheTimeout ) ; setHeader ( response , "Pragma" , "public" ) ; }
Set Cache headers.

@param response The HttpResponse to set headers on