Performance Issue

#334286
Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    Those API calls are not being made by Rank Math. You can check the Component section of the Query Monitor plugin, there is no mention of Rank Math. They are being made by your WordPress core. Please get in touch with your host for further investigation.

    Let us know if you need any other assistance.

    Hi, I’ve investigated this further. The rank math plugin is causing this issue, though the API calls are not made directly by rank math.

    + It’s happening only on sites using redis.
    + wp_cache_flush()in seo-by-rank-math/includes/modules/woocommerce/class-permalink-watcher.php is causing that. We should think twice before using this function.

    Btw, I run a wp maintenance company and a popular wp-related FB group.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have provided temporary WP access.

    Hello,

    Since in WordPress we can’t clear a specific cache by its group we rely on that function to make sure that nothing is caching the permalinks and that we can add our custom redirections successfully for the WooCommerce plugin.

    If there’s something we can do in the future to improve this feature and prevent the entire object cache from being cleared before applying the rules we’ll surely implement it in the plugin.

    Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.

    This brilliant behavior of flushing ObjectsCache is messing with websites performance.
    And it is messing with set_transient & get_transient functions when we are using ObjectCache.
    WordPress is suggesting using the flush_rules function.

    Hello @Sepehrdavarnia,

    We have already added this to our internal list of improvements. Thanks for your valuable input.

    Please don’t hesitate to get in touch in case you need any other assistance.

    Thanks.

    Do you have any time line of this Improvments?

    Hello,

    Unfortunately, we don’t have any timeline for this. With that said, if our developers consider this input of yours, they will surely update it to the plugin and we will notify you right away.

    Please do not hesitate to let us know if you need our assistance with anything else.

    This behavior s is preventing us to use any database ObjectCaching mechanisms (memcache, redis, …).
    So it is a good thing to consider this as a critical bug, and we need a timeline for this critical bug to see if want to stay on using RankMath or not.

    I agree with Sepehr. Already started using alternative options.

    I am trying to fix this on my own.
    Can you describe why are you flushing the WordPress cache on every page load?

    Hello,

    Our plugin has 3 instances where it uses the function wp_cache_flush().

    1. In the permalink watcher for the WooCommerce module and it’s used to add the necessary rewrite rules when you enable options like the “Remove Base” for example.

    2. In the Analytics module when the action to clear the cache from Analytics is called which usually happens once every 7 days in the Free version.

    3. During the uninstall of the plugin to make sure that no transient cache is left being after removing the plugin.

    We don’t have any other instance of this function being called anywhere else inside the plugin.

    Don’t hesitate to get in touch if you have any other questions.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)

The ticket ‘Performance Issue’ is closed to new replies.