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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 8.4-rc-1
    • 7.4, 8.3-rc-1
    • LESS
    • Unknown
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: