Joomla is a content management system (CMS) which allows you to build user-friendly, mobile-ready and high-performance websites with a few clicks. When it comes to performance, Joomla has a built-in cache system which is somewhat effective, but, like many other Joomla users, you may want to get out the best of your website. This is where Speed Cache comes in handy.
It is a Joomla extension and it comes over as an enhanced version of the Joomla page cache system. In this tutorial, we are going to show you how to install Joomla with Speed Cache on your Linux VPS (CentOS or Ubuntu).
Also, add the following settings in your php.ini file:
Once you are sure the prerequisites are met, you can continue with the other steps of this tutorial. If not specified, the command is the same on both CentOS and Ubuntu systems. Where specified, you should run the command according to the distro you are using.
First of all, create a directory for the Joomla files:
Download the latest version of Joomla from the official site. The latest version of Joomla at the moment of writing this tutorial is 3.7.2:
On CentOS, run:
Create a new virtual host in Apache for your domain name and add the following content:
Note: If you are using CentOS, you need use httpd instead apache2 for ErrorLog and CustomLog. Also, you need to replace yourdomain.com with your actual domain name. To restart Apache on Ubuntu, run the following command:
To restart Apache on CentOS, run the following command:
Next step is to create MySQL database and MySQL user for your new Joomla site. Log in to MySQL:
Run the following commands to create MySQL database and user:
You can now open your favorite web browser and enter your domain name in the search bar. You will see the Joomla installation screen. Here, you need to enter some basic information like name for the site, email, username and password. In the next screen, you will be asked to enter the details for the MySQL database you created. Enter the name of the MySQL database, username and password.
In the next screen, you will be asked to enter the details for the MySQL database you created. Enter the name of the MySQL database, username and password.
Proceed to the next screen to finish the installation.
Once Joomla is installed you can remove the installation directory:
Speed Cache provides many useful features and will surely improve the performance of your Joomla site. Some of the most important features are the new static cache, the ability to activate full browser cache, Gzip compression, URL autoindex activation, adding expire headers etc. Go here to register and purchase the extension. Download the extension's .zip file and use the standard Joomla installer to install it. From your Joomla administrator panel select Extensions > Modules > Install
Drag and drop the file into the upload box or upload it manually. The extension will be automatically installed and activated. To access the Speed Cache dashboard and to manage the Joomla cache, select Components > SpeedCache
You can read the Speed Cache documentation for more information and details about how to manage the Joomla cache using Speed Cache. If you followed all the steps, you should see a great improvement in performance for your Joomla site. By using a Linux VPS powered by SSD, along with your Joomla site using the Speed Cache extension, you're ensuring that you get the best and fastest performance out of your Joomla website.