VirtuBox unstickied the discussion .
8 days later

VirtuBox Please clarify one point. Now when I create a site with the --wpredis flag, is Redis Full-page cache installed along with Redis-object-cache? I apparently read all of your documentation, but nowhere has it been clearly written about caching options. What options are what are they and how can they be combined. Indeed, compared to EasyEngine3, the available caching options have greatly increased. And this is confusing. Creating a new project with WO, I chose the option to use Redis, already known to me, but now I doubt it.

    Hello Unicom3000,
    thanks for reporting this information is missing in the documentation.
    With the flag --wpredis, WordOps install redis (if not already installed) and configure Nginx to use redis as full-page cache backend. Additionally, it install redis-object-cache plugin to let Redis handle Wordpress object-cache.
    But if you don't enable or if you remove redis-object-cache plugin, your site will only use full-page cache in redis.

      VirtuBox Thanks for making this clear to me. From the messages above, I understand that Redis-object-cache does not give any performance gain in the base case. But rather, it even spends server resources. In addition, Redis Full-page cache in comparison with Nginx cache in the case of a single server does not give any gain.

      I would also like to hear your recommendations on connecting an additional cache for WordPress, if you are already using Redis Full-page cache or Nginx cache.

        Unicom3000 Redis-object-cache does not improve directly site performance, but it can improve WordPress backend performance.
        Then the main difference between Fastcgi_cache and Redis Full-page cache (fastcgi_cache is also a full-page cache solution) is you cannot use fastcgi_cache with redundant systems, because it would require to share fastcgi_cache path between all servers.

        But if you use Redis cache or Nginx fastcgi_cache, you should not need an additional cache for WordPress, both of them are powerful caching systems which serve cached pages directly from cache without making a single request to WordPress.

          7 months later

          Hello @VirtuBox:

          VirtuBox Then on very high-traffic sites, I often use WP-Rocket with Nginx fastcgi_cache to decrease server load by using to layer of cache.

          I know Wordops support creating site by using wo site create site.tld --wprocket

          It would be great if you can share the method of configuration that you said "WP-Rocket with Nginx fastcgi_cache to decrease server load by using to layer of cache".

          Thanks in advance.

          Hi vasiler ,

          Do you recommand the above configuration method for Woocommece site please?

          Thanks

          vasiler

          vasiler do not use Redis anyway. I dont know. I think you are right.

          Thanks, I will try this method as below on Woocommoce site:

          1#Wp-rocket
          2#plugin Nginx Helper for clearing cache
          3# Using this plugin https://docs.wp-rocket.me/article/61-disable-page-caching
          4# Update site using --wpfc

          Although, I found there are so manny external connections when commercial plugin used on site, if you like, you can use Snitch(https://wordpress.org/plugins/snitch/) to monitor, and will find things like this screenshot:

          http://prntscr.com/spikau
          These external connections sometime caused site delay.

            I use Wp Rocket with CSS optimization feature active, I installed Snitch and I don't have those delays. They probably only appear when Wp Rocket generates static css.

              vasiler They probably only appear when Wp Rocket generates static css.

              Yes. sometimes, but not always.

              For commercial plugins, I am just wonder whether it is safe enough for our site, any idea upon security to share please?

              Thanks

              wo site update example.com --ngxblocker for some security rules and Wordfence plugin (optional)

                vasiler wo site update example.com --ngxblocker

                Great sharing, I read docs several times, but I missed that🙂
                Thanks

                vasiler

                Just share what I did:

                On my Woocommerce site, there are almost 5000 SKU products, and I am using the following configuration now:

                nginx helper + redis-object-cache
                Merge + Minify + Refresh
                EWWW Image Optimizer

                The speed is just ok.

                After setup a site with Wp-rockect, and only one SKU one site, the speed is no so fast like what I expected.
                I have not test the the following conf method yet:

                alexlii1971 1#Wp-rocket
                2#plugin Nginx Helper for clearing cache
                3# Using this plugin https://docs.wp-rocket.me/article/61-disable-page-caching
                4# Update site using --wpfc

                Since I am not sure whether it is suitable for Woocommerce site, or do you think it is good method or any experience with the above configuration on Woocommerce?

                Thanks

                According to the following info:

                VirtuBox Then the main difference between Fastcgi_cache and Redis Full-page cache (fastcgi_cache is also a full-page cache solution) is you cannot use fastcgi_cache with redundant systems, because it would require to share fastcgi_cache path between all servers.

                The above configuration method of Fastcgi_cache with Wp-rockect seems limited to only one wordpress site on one server?

                What about if there are more than one wordpress sites please?

                Thanks

                  Hosted by VirtuBox