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

Boost dramatically slows down install/upgrade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Installation, Themes
    • Labels:
    • Testing Instructions:
      Hide
      1. Attempt a browser-based install with dev-tools open and network tab preserving log. Make sure that the cache is not disabled
      2. Search in the results for boost
        1. *Confirm that the CSS is fetched from styles.php (not styles_debug.php)
        2. Confirm that it has a revision number
        3. Confirm that the revision number does not change between steps
      3. After installation view some pages in Moodle
        1. Confirm that the themerev is new, but does not change between pages
      4. Purge caches and view some more pages
        1. Confirm that the themerev is new, but does not change between pages
      5. Enable theme designer mode and view any page
      6. Find the CSS fetch in the net tab
        1. Confirm that the themerev was -1 and the file was loaded from styles_debug.php
      7. Disable theme designer mode and navigate around the site
      8. Take note of the theme revision
      9. Bump the site version.php
      10. Hit the admin page (you should get the upgrade page)
      11. For each page on the navigation:
        1. Confirm that the themerev was still the same
      Show
      Attempt a browser-based install with dev-tools open and network tab preserving log. Make sure that the cache is not disabled Search in the results for boost *Confirm that the CSS is fetched from styles.php (not styles_debug.php ) Confirm that it has a revision number Confirm that the revision number does not change between steps After installation view some pages in Moodle Confirm that the themerev is new, but does not change between pages Purge caches and view some more pages Confirm that the themerev is new, but does not change between pages Enable theme designer mode and view any page Find the CSS fetch in the net tab Confirm that the themerev was -1 and the file was loaded from styles_debug.php Disable theme designer mode and navigate around the site Take note of the theme revision Bump the site version.php Hit the admin page (you should get the upgrade page) For each page on the navigation: Confirm that the themerev was still the same
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-56602-master-2

      Description

      Because boost recompiles on every page, it makes install/upgrade very slow. It would be nice if there was a way around this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dobedobedoh Andrew Nicols
                Reporter:
                poltawski Dan Poltawski
                Peer reviewer:
                David Monllaó
                Integrator:
                Dan Poltawski
                Tester:
                Dan Poltawski
                Participants:
                Component watchers:
                Matteo Scaramuccia, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Bas Brands, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16