Everyone knows that PHP opcode caching, or any kind of PHP caching for that matter, is not possible with suPHP. This is a trade off of choosing security over performance. The performance hit of running scripts under suPHP is, however, significant. It’s so significant that pages take noticeably longer to display at the browser. Also, the server load goes through the roof during traffic spikes.
The workaround we’re presenting in this post doesn’t require any compromise in terms of security. You get to keep suPHP with its security blanket but also get a tremendous performance boost from caching. The caching in question comes from Varnish Cache, the open source HTTP accelerator that runs in front Apache (or any other Web server for that matter). We’ve developed a Varnish cPanel script or plugin that allows anyone to run Varnish. The script installs, configures, manages, and integrates Varnish with cPanel without you needing to do any maintenance from the terminal.
Varnish Cache is so powerful that the performance gains surpass that of PHP opcode caching! Both internal and independent benchmarks have shown that our cPanel Varnish Plugin (and VCL) performs better than the fastest Web server in the market including Nginx, Litespeed, and Lighttpd. Read more on the results.
The following video shows how one can easily install the Varnish cPanel script:
Here’s some feedback from people that are using the script: http://www.unixy.net/secure/knowledgebase.php?action=displayarticle&id=25
That’s all folks!