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

Purge theme caches via CLI

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.5
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None

      Description

      I, as an interface developer, want to purge only the theme caches, to turn the process of rebuild the interface cache faster.

      This will be useful for those who works improving the Moodle interface by themes or any other visual customization way. The developers can configure and automate their environments to purge only the theme caches via CLI interface.

      The command will be available in the existent cli purgecaches command adding the parameter --themesonly or just -t. See below the examples:

      $sudo -u www-data /usr/bin/php admin/cli/purge_caches.php --themesonly

      $sudo -u www-data /usr/bin/php admin/cli/purge_caches.php -t

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lucaboesch Luca Bösch
                Reporter:
                willianmano Willian Mano Araujo
                Participants:
                Component watchers:
                Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: