Learn about Centmin Mod LEMP Stack today
Register Now

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:
    10:37 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

    30,163
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    3:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  3. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    10:37 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:
    10:37 AM
    Nginx 1.9.3
    MariaDB 10.0
    and which one of these three will you recommend ?
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,163
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    3:07 PM
    Nginx 1.13.x
    MariaDB 5.5
  6. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    10:37 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

    30,163
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    3:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  8. harryneopotter

    harryneopotter Member

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

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    3:07 PM
    I often use https://cometcache.com/

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