Details

    • Spike Type:
      Technical

      Description

      A content page seems to be rendered 27 times upon its publication.

      (No experiences, only 13 languages listed, but no translation provided)
       
      Steps to reproduce:

      • Create a default MVC-Portlet, add this implementation to the class' body:
      @Override
      public void doView(RenderRequest renderRequest, RenderResponse renderResponse)
       throws IOException, PortletException { 
         System.err.println("rendering " + count++); 
         super.doView(renderRequest, renderResponse);
      }
      private static long count = 0; 
      • Deploy the Widget and Edit a Content Page
      • Drop this Widget to a page (note output: "rendering 0"
      • Publish the page. Note the output: "rendering 1" through "rendering 27"

      NOTE: Additional optimization option: If this could run in the background, the publication process would run be perceived to be quicker. Right now, the rendering (last try, 27 times) seemed to block rendering the view-mode page.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            eudaldo.alonso Eudaldo Alonso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package