[perf] cache ResourceHandler instance used by facelets compiler TagLibrary --------------------------------------------------------------------------
Key: MYFACES-3500 URL: https://issues.apache.org/jira/browse/MYFACES-3500 Project: MyFaces Core Issue Type: Improvement Reporter: Leonardo Uribe Assignee: Leonardo Uribe Since once the first request is processed Application.setResourceHandler cannot be called, it is safe to cache it on CompositeResourceLibrary and TagLibraryImpl. In this way we can prevent unnecessary calls to FacesContext.getCurrentInstance() each time a facelet page is compiled -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira