How to enable & Use Caching in 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!
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 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.
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
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.