- The information in this article is specific to Joomla. For general information about caching on Turbo accounts, please see this article.
- Caching for Joomla does not work correctly if you have a shopping cart enabled.
Enabling caching for Joomla
There are two ways to enable caching for Joomla on a Turbo server:- Use a caching plugin: This method only works for Joomla 3.0 and newer versions.
- Enable caching manually: This method works for all Joomla versions, but requires more configuration than the plugin method.
Method #1: Use a caching plugin
To enable caching for Joomla on a Turbo server using a plugin, follow these steps:- Download the LiteSpeed Cache plugin file:
- Use your web browser to go to https://www.litespeedtech.com/products/cache-plugins/joomla-acceleration/download.
- Download the .zip file to your local computer.
- Log in to Joomla as the administrator.
- On the top menu bar, click Extensions, click Manage, and then click Install.
- Click the Upload Package File tab.
- Under Upload & Install Joomla Extension, click Or browse for file, locate the .zip file you downloaded in step 4, and then click Open. Joomla installs the plugin.
- To verify the plugin is installed, on the top menu bar, click Extensions, and then click Plugins. LiteSpeed Cache Plugin should appear in the list of installed plugins with a green checkmark next to it.
Method #2: Enable caching manually
To enable caching for Joomla on a Turbo server manually, follow these steps:-
In the directory where you installed Joomla, open the .htaccess file in a text editor. You can use one of the text editors in cPanel, or you can log in to your account using SSH and use a command-line editor.
📘 Note If the .htaccess file does not exist, create it.
- Copy the following text and paste it at the top of the .htaccess file:
- Save your changes to the .htaccess file. Caching is now enabled.