Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13778

Improve the loading time when a user opens a Flamingo Theme in edit mode

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4, 8.3-rc-1
    • Fix Version/s: 8.4-rc-1
    • Component/s: LESS
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      The opening of a Flamingo Theme for edition is slow by design, since there is a LESS compiler execution on the client-side.

      However:

      • the LESS compiler is executed several times when the page is loaded, 3 times instead of 2 (a second compilation is needed to take into account the variables holded by the theme).
      • the "curtain" hiding the preview window is blinking between these computations.

      These 2 aspects could be improved.

      I first wanted to describe this issue as a bug called "Editing a Flamingo Theme is too slow" but I realized that, even with this improvement, it will still be slow (but a bit less ).

        Attachments

          Activity

            People

            • Assignee:
              gdelhumeau Guillaume Delhumeau
              Reporter:
              gdelhumeau Guillaume Delhumeau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: