---
title: "Clearing or Purging the cache from Moodle 2.3"
description: "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...."
url: https://www.inmotionhosting.com/support/edu/moodle/purge-clear-cache/
date: 2012-12-03
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["Moodle", "Website"]
type: post
lang: en
---

# 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](/support/edu/moodle/moodle-login-administrator/)
2. [![purge-caches-1-select-moodle](https://www.inmotionhosting.com/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-1-select.gif)](/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-1-select.gif) Navigate to **Site administration** > **Appearance** > **Themes** > **Theme selecto**r in the settings section.
3. [![purge-caches-2-clear-moodle](https://www.inmotionhosting.com/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-2-clear.gif)](/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-2-clear.gif) 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](https://www.inmotionhosting.com/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-3-click.gif)](/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-3-click.gif) To Clear all caches for moodle, navigate to **Site administration** > **Development** > **Purge all caches** in the Settings section.
2. [![purge-caches-4-purge-moodle](https://www.inmotionhosting.com/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-4-purge.gif)](/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-4-purge.gif) On the purge all caches page, click **Purge all caches**. [![purge-caches-5-continue.-moodle](https://www.inmotionhosting.com/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-5-continue.gif)](/support/wp-content/uploads/2012/12/edu_moodle_107_purge-clear-cache_purge-caches-5-continue.gif) **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](/support/)
