mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
12303: Merged V2.2 to V3.0 12302: Merged V2.1 to V2.2 12300: Fix for ETWOONE-413 - JSF client DownloadContent URLs are now cachable by a forward proxy (such as Apache mod_proxy+mod_cache) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12304 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -259,6 +259,8 @@ public abstract class BaseDownloadContentServlet extends BaseServlet
|
||||
}
|
||||
}
|
||||
res.setDateHeader("Last-Modified", modified.getTime());
|
||||
res.setHeader("Cache-Control", "must-revalidate");
|
||||
res.setHeader("ETag", "\"" + Long.toString(modified.getTime()) + "\"");
|
||||
}
|
||||
|
||||
if (attachment == true)
|
||||
|
Reference in New Issue
Block a user