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

Enable CSS optimiser setting should cause caches to be purged when changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Themes
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. Browse to Site Administration > Development > Experimental > Experimental settings
      3. Run the following command within your dataroot directory in terminal. `find ./cache/theme/ -type f -ls` and observe the last modified time of the files.
      4. Change enablecssoptimiser and save changes.
      5. Run the command again and check the last modified time has changed.
      6. Change enablecssoptimiser back
      7. Make sure the last modified time has again changed.
      Show
      Log in as an admin Browse to Site Administration > Development > Experimental > Experimental settings Run the following command within your dataroot directory in terminal. `find ./cache/theme/ -type f -ls` and observe the last modified time of the files. Change enablecssoptimiser and save changes. Run the command again and check the last modified time has changed. Change enablecssoptimiser back Make sure the last modified time has again changed.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      wip-MDL-33715-m23

      Description

      As Petr pointed out and Dan confirmed in MDL-33597 the enable css optimiser setting requires caches to be purged.
      This should be a relatively simple change and Petr pointed to the filter settings as an examples (thanks Petr )

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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