Brotli Support in cPanel/EasyApache 4

Brotli is a lossless data compression algorithm that is similar to gzip. It was initially launched for web font offline compression, but Google later developed it as an open-source compression algorithm specifically for HTTP servers. It also supports Litespeed Web Server, cURL, and Node.js.

Ger More About Brotli on Wikipedia at https://en.wikipedia.org/wiki/Brotli

Presently it works better than gzip and supported by most of the browsers like Google Chrome, Microsoft Edge, Safari, Mozilla Firefox, and Opera. Its greater compression density ensured lesser bandwidth consumption and loads web contents faster.

As modern web applications and sites demand more features and become more resource-intensive over time, it has become essential to use a compression technology that reduces bandwidth usage and ensures websites run faster.

Enabling Brotli on your cPanel/EasyApache 4 would benefit you in many ways, and here’s how to do it:

  • Login to cPanel/WHM as root.
  • Go through “Software>EasyApache4”.
  • Click on ‘Customize’ button.
  • Under the ‘Apache Modules’ tab, select ‘mod_brotli’.
  • Hit the ‘Next’ button for couple of time until you hot the ‘Provision’ button.

Once it’s done, you will be notified that ‘The provision process is complete.’

You can also add support for Brotli via the command line:

root@web [~]# yum install ea-apache24-mod_brotli.x86_64

GET THE BEST APPS IN YOUR INBOX

Don't worry we don't spam

Login/Register access is temporary disabled