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