File targetFile = new File(getTargetFilePath(req));
long cssModified = targetFile.exists() ? targetFile.lastModified()
: currTime;
ServletContext ctx = req.getSession().getServletContext();
CSSVarContext globalCSSContext = (CSSVarContext) ctx
.getAttribute(GLOBAL_CONTEXT_KEY);
long cssvarContextModified = globalCSSContext != null ? globalCSSContext
.getLastInit() : currTime;
return Math.max(cssModified, cssvarContextModified);
}