[
https://issues.apache.org/jira/browse/MYFACES-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-3500.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.7
2.0.13
> [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
> Fix For: 2.0.13, 2.1.7
>
>
> 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