Skip to content
Varnish Cache Inegration in cPanel
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
install.sh
uninstall.sh

README.md

w3tools-varnish

####Varnish Cache Integration in cPanel

Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents.

####Installation:

$> yum update -y
$> yum install wget -y
$> wget "https://raw.githubusercontent.com/itseasy21/w3tools-varnish/master/install.sh" -O /root/varnish-install.sh
$> cd /root
$> chmod +x varnish-install.sh
$> ./varnish-install.sh

####Varnish Cache Settings

You can play around with Varnish setting to get best result based on your preferences

vim /etc/varnish/default.vcl

You can validate the setting before applying

varnishd -C -f /etc/varnish/default.vcl

To apply the setting, restart Varnish

service varnish restart
```

####UnInstall:

```bash
$> wget "https://raw.githubusercontent.com/itseasy21/w3tools-varnish/master/uninstall.sh" -O /root/varnish-uninstall.sh
$> cd /root
$> chmod +x varnish-uninstall.sh
$> ./varnish-uninstall.sh

Varnish Cache Proudly Presented by http://www.w3tool.blogspot.in/

You can’t perform that action at this time.