From dab8e67cc2d594a0d22802f967b1027ba15f565d Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Tue, 13 Oct 2009 10:00:06 +0000 Subject: [PATCH] Merged V3.2 to HEAD 15154: Performance optimization for AuthorityDAO - based on 3.1E Share use case analysis. - improves performance for create, find and general get of authorities via the DAO - also potentially improves LDAP import etc. - anything that goes via Zones - takes 3.2E performance ahead of 3.1E performance for Share use case (20,000 user and 2,000 site DB upgraded from 3.1.1E) 15447: Static asset web filter added to web.xml for Explorer client and Share webapp. - Adds a 30 day public cache expiry header (configurable) to all static assets for performance and proxy usage - Also prevents browsers such as IE causing conditional GET requests for images etc. on restart of the browser git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/web/WEB-INF/web.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/source/web/WEB-INF/web.xml b/source/web/WEB-INF/web.xml index ed556c1a2e..0aa59d7ff7 100644 --- a/source/web/WEB-INF/web.xml +++ b/source/web/WEB-INF/web.xml @@ -250,6 +250,38 @@ Admin Authentication Filter /faces/jsp/admin/system-info.jsp + + + Set HTTP cache Expires header 30 days forward for a mapping. + CacheExpiresFilter + org.alfresco.web.scripts.servlet.StaticAssetCacheFilter + + Add an Expires Header 30 days forward + expires + 30 + + + + + CacheExpiresFilter + *.jpg + + + CacheExpiresFilter + *.png + + + CacheExpiresFilter + *.gif + + + CacheExpiresFilter + *.css + + + CacheExpiresFilter + *.js +