• Hello,

    Anybody managed to use Varnish cash for HTTPS SSL on WordPress or Woocommerce ?

    It seems possible, so I wonder why many people are saying that it is not ?
    https://bash-prompt.net/guides/apache-varnish/

    What else have you done to speed your wordpress / woocommerce after having done all the standard things that we do not need to talk about here.

    I do not want to just speed my website, I want it to be the fastest possible.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Varnish does not, and have no plans to, support HTTPS. As a result, Varnish cannot simply be configured to listen on the external IP on port 443 for incoming HTTPS connections as it does for HTTP connections.

    It seems possible, so I wonder why many people are saying that it is not ?
    https://bash-prompt.net/guides/apache-varnish/

    Who are the “many people” saying it is not “possible”?

    From the very article you linked to:

    … Varnish does not, and have no plans to, support HTTPS. As a result, Varnish cannot simply be configured to listen on the external IP on port 443 for incoming HTTPS connections as it does for HTTP connections.

    Just in case that is still not clear to you, Vanish itself DOES NOT support HTTPS.

    But you can use Vanish and HTTPS together by having something else sit in front, receive HTTPS connections, and pass it over to Varnish. This “something else” is typically Nginx or Apache.

    And this extra “helper” adds to the complexity and difficulty of setup.

    Here is a WordPress-specific step-by-step guide:

    https://linode.com/docs/websites/varnish/use-varnish-and-nginx-to-serve-wordpress-over-ssl-and-http-on-debian-8/

    What else have you done to speed your wordpress / woocommerce after having done all the standard things that we do not need to talk about here.

    I don’t run Woocommerce myself, but I manage a very very large and active news website for a local publisher.

    On this site I run a very simple setup:

    Nginx with HTTP/2
    PHP7.2 (PHP-FPM)
    Redis full-page cache
    CDN also with full-page cache

    I’m doing 1m+ monthly page views on a tiny $10 Linode VPS (but the CDN takes over 90% of the load).

    I understand an e-commerce website presents peculiar challenges, as you can’t just cache everything willy-nilly.

    I recently read a well-reasoned article about Woocommerce performance, that attributed the bottleneck to the way order details are stored in the database and provided a workaround (involving a custom orders table)… but my aging brain can’t remember where I read it from!

    I still can’t remember the article, but I’ve found the solution referenced in the article:

    WooCommerce Custom Orders Table by Liquid Web:

    https://github.com/liquidweb/woocommerce-custom-orders-table

    I believe this is the foundation of the Managed Woocommerce hosting service they (Liquid Web) recently announced:

    Thread Starter advisorexpertwordpress

    (@advisorexpertwordpress)

    Thank you so much, thanks to you I understand now”

    “Just in case that is still not clear to you, Vanish itself DOES NOT support HTTPS.
    But you can use Vanish and HTTPS together by having something else sit in front, receive HTTPS connections, and pass it over to Varnish. This “something else” is typically Nginx or Apache.”

    So the result is that it is possible to use Varnish cache with HTTPS, but really, it was not as clear when reading different websites.

    And actually it seems too difficult for me, so how can I achieve this ? How could I find online someone to help to setup Varnish ?

    Or maybe by following your other very interesting link, Woocommerce could really be faster and then Varnish would not be a priority anymore ?
    https://github.com/liquidweb/woocommerce-custom-orders-table

    It’s not the first time that I read that the way Woocommerce organizes data is bad, but how to know if it will be really faster when doing this ?

    Thank you again for everything !

    Thread Starter advisorexpertwordpress

    (@advisorexpertwordpress)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Varnish + SSL HTTPS + Apache + WordPress + Woocommerce’ is closed to new replies.