Joomla caching

The caching mechanism implemented in Joomla! is a way to improve the performance and loading speed of the content in your Joomla! website. A cache stores all or part of the content in a web page so that it doesn't have to be pulled from the database by running additional SQL database queries. That way your website can respond much more quickly to your visitors.

You can turn the built-in Joomla! caching from your Joomla! admin area -> Settings -> Global Configuration -> System -> Cache Settings -> ON.

You can choose between two caching options:

  • Conservative caching - smaller system cache.
  • Progressive caching - faster, bigger system cache (not appropriate for large websites).

You can also edit the "Cache time" option from the same menu. Note that the time is measured in minutesĀ and it represents the the time for which the cache file will be stored before it is refreshed. If you update your website constantly, then it is a good idea to select more frequent refresh rate, however if the website is oriented more towards static content, then you can set a refresh rate of 12 or 24 hours. For example if you want to set 12 hours cache time, you should set 720 (minutes).

In most of the cases the folder where the cache is stored is called cache and is located in the root folder of your script. This directory must be writable for caching to be successfully implemented.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!