Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Themes
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-29941-master

      Description

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12