Installing Varnish Cache on a cPanel Server

I’ve recently added Varnish Cache to my server with cPanel installed. Varnish Caching is now installed server-wide. It acts as an invisible intermediary between clients and the server and delivers some major speed improvements, noticeably to Magento and Drupal websites.

The Varnish install script created by Shubham Mathur worked very well but it currently doesn’t consider additional IPs. Also, you’ll need something to amend the $_SERVER['REMOTE_ADDR'] server variable to show the client’s IP address and not the server’s.

Continue reading Installing Varnish Cache on a cPanel Server