• Resolved michaelcartersa

    (@michaelcartersa)


    Hi

    We have a fairly high traffic site and we rely on object-cache to reduce our response times, but I’ve noticed our object cache being flushed repeatedly and traced it to this plugin.

    Luckily we are using objectcache.pro so I could block your flush easily but this is really not something that should be happening.

    It’s happening in the automatorwp_insert_log() function (wp_cache_flush())

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter michaelcartersa

    (@michaelcartersa)

    Another inefficiency I found is the woocommerce_order_tag() function that’s called at least 10 times by, different woocommerce automator classes, returning the exact same response.

    This could be cached as well and would speed up our pages by 10-15%. You can see the other automator classes are loading much faster, it’s just the woocommerce ones that are slow.

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @michaelcartersa

    The cache flush is necessary because if several triggers are launched, AutomatorWP needs the cache to be clear for new queries in the logs. This way it can know if the user has successfully completed the trigger and the automation.

    This happens whenever someone launches a trigger and all its requirements are met.

    Best regards

    Thread Starter michaelcartersa

    (@michaelcartersa)

    I’m not sure how the cache is used, but maybe you could use a custom cache group for everything automatorwp related, that way you only need to flush the specific group..

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @michaelcartersa

    Thanks for your suggestion.

    We will consider it to include in future updates.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Object cache flushing’ is closed to new replies.