Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3500

[perf] cache ResourceHandler instance used by facelets compiler TagLibrary

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.13, 2.1.7
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: