2 minutes reading time (469 words)

How to enable & Use Caching in Joomla

Font Size
enabling-caching-joomla

If you want to make your website faster, you need to do a handful of extra tasks in addition to just launching the site merely. One of the most important tasks of that checklist is enabling caching. Unlike WordPress, Joomla has a built-in caching feature that you can use to make your site load faster. Basically, there are 3 caching options in Joomla. 

  • Conservative Caching
  • Progressive Caching
  • Page Caching

Each of these options has some unique features and use-cases. It's just a matter of few clicks to activate and configure caching in Joomla. Here we go!

Conservative Caching 

This caching option lets you cache contents shown by the View output from components and output by the modules that allow caching. But note that, Conservative caching will only work on pages which are not cached using the Page Cache feature. If you edit and save an article, Joomla automatically clears the cache.

1. Go to Joomla Control Panel > Global Configuration > System (tab) and within Cache Settings set System Cache to ON – Conservative caching

​2. Go to Joomla Control Panel > Extensions > Modules and choose the modules that you want to be cached. You will find caching options in a module's Advanced tab if it allows caching.

Progressive Caching 

Progressive Caching caches the output from component views and modules. But in case of Progressing Caching, all modules are always cached. No custom caching configuration for any specific module can override this. If you edit and save an article, Joomla automatically clears the cache.

To turn on progressive caching, go to Joomla Control Panel > Global Configuration > System (tab) and within Cache Settings set System Cache to ON – Progressive caching.

Page Caching 

It's the all inclusive caching option in Joomla. It caches entire pages and serve them to the users, except those who are logged in to the site. Enabling Page Caching will override other caching options like Conservative Caching or Progressive Caching. You can also activate browser cache for further speed-boost. Plus, there are menu exclusion and URL exclusion options for better experience in case of some dynamic contents. While using Page Caching, it's recommended to set the Global Configuration cache settings to

  • Cache Handler – File
  • Path to Cache Folder – leave blank
  • Cache Time – 15 (the default of 15 minutes)
  • System Cache – OFF – Caching disabled
To activate Page Caching, go to Control Panel > Extensions > Plugins. Search "System - Page Cache" and enable it from there. Open the appeared System - Page Cache plugin for further configurations.

​I believe you will find this article helpful while deciding which cache option you should choose for your Joomla site. If you have any query, please ask in the comment section below.

Previous Post How to install a Joomla template
Next Post 7 Things You Must do After Installing Joomla
 
Comments