• Hi,

    i m instaling my new server and trying make some good environment for
    my wordpress so i wanna know if installing Varnish + Nginx is good idea
    and will speed up my wordpress website or there is other Combos that
    work better and if there is any known trouble between with varnish and wordpress

    Thanks for help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Dolomats0,

    Hope you are well today!

    There is no need to use both Varnish and Nginx as you can configure Nginx to be configured as proxy cacher too.

    If I am going to use Varnish it will be with Apache2 rather than Nginx.
    My personal reason behind this is because I find Apache2 far more easy for administration, and needs less attention. Nginx is very versatile, but it squeeze more of my time.

    Or maybe I am just old-minded and believe that a piece of software should just do one thing, and do it good.

    There is opninions from both sides – one saying Varnish is better for caching and the other that Nginx is the only thing you need.

    Anyway – in short you shouldn’t have any problems using both, as long as they are configured properly. But I will personally go with either: Apache+Varnish or just Nginx

    You should be careful not to drop the cookies in your configuration in Varnish and Nginx.

    You can also might these links interesting:
    https://www.uptimemadeeasy.com/cloud/nginx-or-varnish-which-is-faster/
    https://www.narga.net/varnish-nginx-comparison-nginx-alone-better/

    Thanks,
    Ivan

    Dolomats0,

    My preference is to use only NGINX and has been for several years — bias aside. Implementing fastcgi_cache with NGINX, or even using a plugin like W3TC and WP-Super-Cache will yield great performance results. I haven’t found a case where the implementation of Varnish w/ WordPress has been easier and quicker to manage, especially in sites with cookies which are just about most.

    Thread Starter Dolomats0

    (@dolomats0)

    Thanks people for answers

    was really constructive, was a bit hard to decide but i think that i will
    go for ninx.
    just wondering !! should i with it fastcgi_cache or php fpm ?

    Salutations.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Varnish Nginx for WordPress is Good ?’ is closed to new replies.