Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1442

Performance bottleneck in LiferaySharedPageTop due to SAXParser not being reused

    Details

      Description

      The LiferaySharedPageTop class exists in order to remove duplicate JSF-added resources from the <head>...</head> section of the portal page.

      It does this by parsing the XML from the "LIFERAY_SHARED_PAGE_TOP" request attribute with a SAXParser instance. But since a new parser instance is created each time, it suffers from a performance impact, as described in the following article:
      http://www.ibm.com/developerworks/xml/library/x-perfap2/index.html

      The proposed solution is to reuse the parser instance.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  liferay-faces-3.0.1-legacy-ga2
                  liferay-faces-3.0.1-ga2
                  liferay-faces-3.1.1-ga2
                  liferay-faces-3.2.4-ga5