• Resolved bert.beukema

    (@bertbeukema)


    We’re running the plug-in on Woocommerce and within Woocommerce we’re running Wpsocial for our reviews. The cache engine doesn’t pick up either changes in WordPress reviews or reviews from WPsocial. This means the reviews tab in Woocommerce is out of date.

    In what way can we implement a hook or custom code to make sure that if a review is placed that product page must be recached?

    Regards,

    Bert

    https://wordpress.org/plugins/gator-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author GatorDog

    (@gatordog)

    Gator Cache will pick up on either the post/product or post comments being updated. Is there an open source version of Wp Social available for review? Otherwise I can supply you with info regarding invalidating the cache for a certain page or product.

    Thread Starter bert.beukema

    (@bertbeukema)

    Hi there,

    unfortunately it’s not open source, but if you mail me directly @ bert@houseofliquid.nl I can give you access to our FTP / WC installation. It’s just a bunch of php / css files and some database tables, nothing special. But it seems to be that it doesn’t actually update the product in question, so i’d need some other trigger to update cache.

    Regards,

    Bert

    Plugin Author GatorDog

    (@gatordog)

    It sounds like this plugin is not using the regular built-in comments, I can take a quick look for you, but probably not until this weekend.

    Hey i have the same problem i wanted to cache the page but keep some content still dynamic and TADA :

    https://wordpress.org/support/topic/serve-via-ajax-some-content?replies=2#post-6111488

    Plugin Author GatorDog

    (@gatordog)

    What you’d want to do is to code the dynamic elements so they are rendered via AJAX, GatorCache does not cache xhr requests. For a real world example, see how WooCommerce renders their cart fragments.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce reviews are cached’ is closed to new replies.