How to Clear Cache in Joomla 4.0

how to clear cache in Joomla 4.0

There are times when you will have the need to clear cache files that Joomla has saved for optimizing the performance of your site.  This is often done when you have made changes and the cached file remains the older (unchanged) version of that file or content.  

Joomla! 4.0 makes the process of clearing cache files very easy for its built-in system.  If you are not sure of the cache settings or need to enable them, please see Enabling Caching in Joomla! 4.0 for more information.

This article will walk you through the steps to clear the cached files using Joomla’s file caching system.

If you need an optimized solution for your Joomla site, check out our high performance Joomla Hosting plans.

Clearing the Cache

Joomla 4.0 provides two areas where you can easily access the interface to clear cached files.  Follow the steps below to learn how to clear the cache in the Joomla Administrator Dashboard.

  1. Log in to the Joomla Administrator Dashboard as an administrator or super user.

    Joomla 4 admin dashboard

  2. There are two ways to reach the maintenance area to clear caching.  In the top right corner of the dashboard, you can click on Cache in the area labeled System
  3. Or, you can click on System in the main menu (at left), and then click on Clear Cache in the Maintenance section.

    select maintenance

  4. Once you’re on the Clear Cache page, it will look something like this:

    Clear cache page

    You will have options to search for a particular file, or select files by clicking on the checkbox to the left of the file name. You can also filter the displayed cached files in different ways and determine the number of files that are displayed.
  1. Cached files have an expiration date.  If they’re not automatically removed, you can click on the button that the top of the page labeled Clear Expired Cache. Files that have not yet expired will remain untouched.  If you want to delete all of the files regardless of cache status, then click on the button labeled Delete All.  To delete specifically selected files, click on the Delete button.

Congratulations! You now know how to clear the cached files in Joomla! 4.0.  For more information using Joomla, please see our InMotion Hosting Support Center website.

Discover how InMotion Hosting's virtual private servers can deliver power and performance for your Joomla site with our reliable Joomla Hosting plans.
Arnel Custodio Content Writer I

As a writer for InMotion Hosting, Arnel has always aimed to share helpful information and provide knowledge that will help solve problems and aid in achieving goals. He's also been active with WordPress local community groups and events since 2004.

More Articles by Arnel

Was this article helpful? Let us know!