Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17563

Experiment with resources ordering

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4-SNAPSHOT
    • Fix Version/s: 7.10
    • Component/s: Themes (deprecated)
    • Tags:
    • Sprint:
      nxNag Sprint 7.4.2, nxNag Sprint 7.4.3, nxNag Sprint 7.4.4, nxNag Sprint 7.4.5, nxNag Sprint 7.10.1
    • Story Points:
      5

      Description

      Goal: reduce flickering effect when clicking on a tab, view, etc.

      => Loading CSS first then scripts (even if not at the end of the body) might resolve the issue.

      Tag nxr:insert can be used in combination with target attributes of nxr:bundle and h:outputScript tags to push all js resources to the end of the page body => check impact of these changes on page load look&feel.

      Also, it might be interesting to define new wro servlet configuration to serve all js and css resources of a page in a single request per type (instead of per bundle). This requires adding a dependency from web-resources-wro to nuxeo-theme-styling (module defining pages extension points)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: