Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1486

When Tapestry adds CSS and JS files to the page, it should ensure that CSS files are above any JavaScript files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3, 5.2.5
    • Fix Version/s: 5.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      From the "Audit" tab of Chrome Developer Tools:

      The following external CSS files were included after an external JavaScript file in the document head. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript

      I think the best order would be:

      Add all CSS files first; add them before any <script> tag or, failing that, at the end of the <head>.

      Add all JavaScript files second; add them after any <link> tag or, failing that, at the end of the <head>.

        Attachments

          Activity

            People

            • Assignee:
              frafac François Facon
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: