Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29941

CSS optimiser

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.3
    • Themes
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • wip-MDL-29941-master
    • Hide
      1. Log in as admin
      2. Purge your caches
      3. Check the CSS you browser gets and make sure its normal.
      4. Browse around the site and look at things
      5. Add the following to your config.php
        • $CFG->enablecssoptimiser = true; (This can be set through the UI advanced settings as well if you wish)
        • $CFG->cssoptimiserstats = true;
        • $CFG->cssoptimiserpretty = true;
      6. Purge your caches
      7. Inspect the CSS again and make sure it is smaller but still looks valid
      8. Browse around the site again and make sure things still look the same.
      9. Run unit tests in lib/simpletest/testcsslib.php
      Show
      Log in as admin Purge your caches Check the CSS you browser gets and make sure its normal. Browse around the site and look at things Add the following to your config.php $CFG->enablecssoptimiser = true; (This can be set through the UI advanced settings as well if you wish) $CFG->cssoptimiserstats = true; $CFG->cssoptimiserpretty = true; Purge your caches Inspect the CSS again and make sure it is smaller but still looks valid Browse around the site again and make sure things still look the same. Run unit tests in lib/simpletest/testcsslib.php

      This issue is to track my progress on creating a new CSS optimiser to organise the mountain of CSS that we have.

            samhemelryk Sam Hemelryk
            samhemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Aparup Banerjee Aparup Banerjee
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.