You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/03/13 18:08:41 UTC

[jira] [Created] (MYFACES-3500) [perf] cache ResourceHandler instance used by facelets compiler TagLibrary

[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

        

[jira] [Resolved] (MYFACES-3500) [perf] cache ResourceHandler instance used by facelets compiler TagLibrary

Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ 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