response.setContentType(contentType);
if (!cacheable) {
response.setHeader("Pragma", "no-cache");
response.addHeader("Cache-Control", "no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
response.setDateHeader ("Expires", 1);
}
else {
response.setHeader("Cache-Control", "max-age=" + (cacheHoldingTime / 1000));
response.setDateHeader ("Expires", System.currentTimeMillis () + cacheHoldingTime);