• Resolved rebrush2

    (@rebrush2)


    I am using Redis object cache with woocommerce, Flatsome theme.

    Thanks for developing and maintaining these great plugins.

    In the above environment, I wonder if there are any parts that need to be excluded from redis cache.

    I googled and found some advice to add the following:

    But I m worried because its such an old document.

    if ($http_cookie ~* "cookie_woocommerce_items_in_cart"){
    set $skip_cache 1;
    }
    
    # Don't cache uris containing the following segments
        
    if ($request_uri ~* "(/shop.*|/cart.*|/my-account.*|/checkout.*|/addons.*|/wp-admin/|/xmlrpc.php|wp-.* .php|/feed/|index.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
    
         set $skip_cache 1;
      
         }
    

    I wonder if I need to put the above code or if it is already included in the redis object cache plugin.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘with Woocommerce’ is closed to new replies.