Clearing or Purging the cache from Moodle 2.3

When working in Moodle 2.3, there comes a time when the cache will need to be cleared from the server. Cache is a static page that was saved by Moodle. This allows the Moodle site to load faster. When switching themes and making other changes within Moodle, the old theme or code may still continue to work after the site was updated. To fix this, the cache will need to be cleared.

There are 2 types of cache clearing in Moodle. The Theme cache, and the Purge all cache. When switching themes, the theme cache can be cleared to allow the new theme to function. If any changes were made in the code that are not found in the theme, the Purge all caches option will need to be used. The following will detail how to clear the cache from your Moodle site.

Clearing the Theme cache in Moodle

  1. Log into the Moodle Dashboard
  2. purge-caches-1-select-moodle

    Navigate to Site administration > Appearance > Themes > Theme selector in the settings section.

  3. purge-caches-2-clear-moodle

    At the top left of the page, click the Clear theme caches button. This will remove all cache related to the theme.

Purging all cache in Moodle

  1. purge-caches-3-click-moodle

    To Clear all caches for moodle, navigate to Site administration > Development > Purge all caches in the Settings section.

  2. purge-caches-4-purge-moodle

    On the purge all caches page, click Purge all caches.

    Click continue

Congratulating, the cache was cleared for your site. This concludes the tutorial on Clearing or Purging the cache from Moodle 2.3. For more information on this Education Course please visit Changing the Appearance of Moodle

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

Was this article helpful? Join the conversation!