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

Improve page loading times

    XMLWordPrintable

Details

    Description

      Over time the xwiki skins in general have added JS, CSS, images. This is making xwiki pages slow to load as shown by YSlow (see attached image).

      What we should do:

      • Reduce the number of JS to load by moving out JS that are not needed for all pages so that they are loaded on demand
      • GZip all HTTP response contents
      • Modify the build to automatically merge all CSS and JS files together in a single file (see http://aciddrop.com/2008/01/03/automatically-join-your-javascript-and-css-into-a-single-file/)
      • Add expire headers. We need to be careful with this and probably do what yahoo recommends: modify the file names when they change so that clients get the newer versions. Otherwise they'll need to remember to refresh their caches. This can be automated in the build and should be pretty easy especially if we merge all files into a single one.
      • Minify CSS and JS files

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              vmassol Vincent Massol
              Votes:
              8 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: