Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on
Varnish or not Varnish?
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

Varnish or not Varnish?

postcdpostcd Member
edited September 2015 in Help

Hello, on an webserver with various php scripts like Wordpress, Joomla, PHPBB
should i use Varnish? How big is the average page load time improvement or how much less load is caused when Varnish enabled? thank you

PS: here is varnish install tutorial: - hosting, webmaster forum


  • What is your current server? if it's nginx, its cache system is pretty powerful and will take good advantage of your extra ram with the caching handled by the kernel. So I'd just use nginx kernel. if you use apache yeah, varnish could help (or nginx + cache).

  • @postcd said:
    should i use Varnish?

    Yes. Make sure you read its docs well though.

  • Yes, you should use Varnish. There will be a noticeable improvement.

  • TheLinuxBugTheLinuxBug Member
    edited September 2015

    I assume you are using something like cPanel? If not, and you are running your own installation, you would do much better to move to nginx+php-fpm and setup nginx fastcgi cache, Zend Opcache with php-fpm and then add memcached on the backend and install the needed plugin in WordPress to take advantage of memcached.

    Also, spend some time tuning MySQL, most of the time your biggest hold up is MySQL. There are a lot of things you can tune to speed things up. The biggest which most people overlook is useing /dev/shm as your tmpdir so that selects and joins are performed in memory instead of on disk.

    If you are stuck on using cPanel, then I would consider either:

    A. Unixy Varnish

    B. litespeed (which includes its own caching mech.)

    Hope this helps.


    Thanked by 2aglodek scy

    Have an Allwinner H3 device? Android? Check out H3Droid! | Lichee Pi Zero - The 6$ SBC | #SYSarm - Get It! | Atomic Pi - $35 x86 SBC
    21+ Years IT Experience in Linux/Windows Hosting, Administration and Development Services

  • Unixy Varnish is really quite good, but you'll have to pay for it as a cPanel plug in if you want customers to be able to empty their own caches.

    Jacksonville VPS with 99.9% Uptime from $2/m

    Brisbane? Nuremberg? Los Angeles too? Even the UK? That's right! Tons of locations for shared hosting

Sign In or Register to comment.