Join the community today
Become a Member

Wordpress what is the best cache/plugin combo for Woocommerce ?

Discussion in 'Blogs & CMS usage' started by harryneopotter, May 18, 2017.

Tags:
  1. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    1:26 AM
    Nginx 1.9.3
    MariaDB 10.0
    Just installed CMM on a fresh server and was wondering if there is any good tested cache/plugin combo for woocommerce based sites. Caching without creating issues for logged in customer, what is the best way to go about it ?


    I tried searching but didnt find anything recent on this.
     
  2. eva2000

    eva2000 Administrator Staff Member

    49,887
    11,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,845
    Local Time:
    5:56 AM
    Nginx 1.21.x
    MariaDB 10.x
    If you installed wordpress via centmin mod 123.09beta01 auto wordpress install (centmin.sh menu option 22) with either keycdn cache enabler or wp super cache or redis cache at nginx level, then the default cache configs for all 3 respectively already take care of caching for woocommerce by excluding certain urls from caching. These include

    Code (Text):
    ?add-to-cart=
    /cart/
    /my-account/
    /checkout/
    /shop/checkout/
    /store/checkout/
    /customer-dashboard/
    


    I don't use woocommerce myself so if there's any other urls you need excluding, let me know
     
  3. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    1:26 AM
    Nginx 1.9.3
    MariaDB 10.0
    what about the stable version 123.08 ??
     
  4. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    1:26 AM
    Nginx 1.9.3
    MariaDB 10.0
    and which one of these three will you recommend ?
     
  5. eva2000

    eva2000 Administrator Staff Member

    49,887
    11,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,845
    Local Time:
    5:56 AM
    Nginx 1.21.x
    MariaDB 10.x
  6. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    1:26 AM
    Nginx 1.9.3
    MariaDB 10.0
    so with 123.08, installing supercache or keycdn enabler manually and excluding these urls, that should be enough. Correct ?
     
  7. eva2000

    eva2000 Administrator Staff Member

    49,887
    11,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,845
    Local Time:
    5:56 AM
    Nginx 1.21.x
    MariaDB 10.x
    also need to exclude cookies which 123.09beta01 centmin.sh menu option 22 automatically does for
    Code (Text):
    edd_items_in_cart
    woocommerce_items_in_cart
    woocommerce_cart_hash
    


    if you setup a separate 123.09beta01 test server and run centmin.sh menu option 22, you can then get the sample configuration include files which have the exclusions that you can copy over to 123.08stable install
     
  8. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    1:26 AM
    Nginx 1.9.3
    MariaDB 10.0
    cool. Thanks a lot again, George :).
     
  9. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    5:56 AM
    I often use https://cometcache.com/

    It is very easy and simple to setup. Also supports caching to ram disk, etc.