Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-118805

Improve Iframe loading perceived performance

    Details

      Description

      Some of the latest changes in our openModal API appears to have made iframe loading a bit slower, or at least its perception.

      The goal of this story is to determine if iframe loading can be more performant or at least apparently.

      The main suspect that comes to mind is that the iframe is hidden until the onload event. This makes content show up very late since all resources need to load and run. The <iframe> element does not support listening on DOMContentLoaded or similar event, but it could be implemented internally.

      Acceptance Criteria

      • Comparison on iframe perceived performance between Liferay.Util.openWindow and Liferay.Util.openModal
        • See how content seems to display in the first case much faster than in the second
      • A fix to bring performance of Liferay.Util.openWindow to the previous level

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              team-frontend-infra Product Team Frontend Infrastructure
              Reporter:
              jose.balsas Chema Balsas
              Engineering Assignee:
              Bryce Osterhaus
              Recent user:
              Marko Čikoš
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master