Rank Math – Slowest Wordpress Plugin – How to fix it?

#899683
  • Resolved Gerardo Vargas
    Rank Math pro

    Hi,

    Please see images below/attached. I ran a test to identify PHP performance bottlenecks and troubleshoot my WordPress site and RankMath is amongst the Slowest WordPress plugins. Please see images below/attached. How can this be fixed? Rank Math Plugin Performance

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    We apologize for the issue you are facing with Rank Math’s performance. Thank you for providing the images to help us understand your concern better.

    To diagnose performance issues with your website, we recommend the following steps:

    1. Use GTmetrix: Perform a speed test before and after installing Rank Math to see how it affects your page loading speed. This can help you identify if Rank Math is indeed causing a slowdown.
    2. Install Query Monitor: This plugin can help you check the loading speed and identify slow queries in the backend. You can compare the performance before and after installing Rank Math.
    3. Check for Conflicts: Sometimes, other plugins may conflict with Rank Math, causing performance issues. If you suspect this, try deactivating other plugins one by one to see if performance improves.
    4. Open a Support Ticket: If you find that Rank Math is still causing slowdowns after these checks, please reply to this ticket with more details, including the specific performance metrics from your tests. A human agent from our support team will take over and assist you further.

    We appreciate your patience as we work to resolve this issue together!

    Hello,

    Thank you for contacting us. We apologize for any inconvenience this issue may have caused.

    From the screenshots you shared it appears the issue is related to the dynamic generation of your sitemap.

    If you have included the following snippet on your site in the past to disable the Rank Math sitemap transient cache, you can remove it and allow the sitemap transient cache to function as intended:

    
    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    You can also check this article for more information on how Rank Math affects your site speed: https://rankmath.com/kb/does-installing-rank-math-slow-down-my-website/

    We hope this helps you resolve the issue. If you have any other questions or need more assistance, please let us know. We’re always happy to help.

    Gerardo Vargas
    Rank Math pro

    Thanks but I do not understand what you mean with “If you have included the following snippet on your site in the past to disable the Rank Math sitemap transient cache”

    How do I check that and how do I fix it?

    Hello,

    We usually recommend adding that code using any of these methods when users for some reason experience issues of their sitemap not being updated automatically when a page is published or modified. So if you have never done that, you can ignore that suggestion.

    As programmed the sitemap transient cache is cleared and regenerated once a post/page is published or modified.

    We can see your sitemap references less than 500 pages.

    Please check the PHP values of your site by going to WordPress dashboard > Tools > Site Health > Info tab > Server. These values affect the performance of your site and they should be set atleast to the following recommendations:

    PHP Memory Limit: 512M
    Max input time: 150
    PHP time limit: 120
    PHP max input variables: 1000

    If any of these values are lower than the recommended ones, please contact your hosting provider and ask them to increase them for you.

    We hope this helps.

    Thanks.

    Hello,

    For most host providers you do not need to upgrade the hosting plan to increase the server’s PHP memory limit.

    Please reach out to your web host provider and they should likely share documentation on how to do it yourself or even help you out.
    https://imgur.com/j3UPcuA

    We checked/tested and can see the sitemap is working correctly:

    If you use a caching plugin on your site please exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article: https://rankmath.com/kb/exclude-sitemaps-from-caching/

    After doing this flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    We hope this helps.

    Thanks.

    Gerardo Vargas
    Rank Math pro

    Hi,

    When you say “reach out to your web host provider and they should likely share documentation on how to do it yourself or even help you out.”, do you mean that there is a way for me to increase my PHP memory? I reached out to my host provider and they offered to upgrade the PHP memory limit for an extra $50/month, please see image: host response

    Also, to exclude the sitemap from being cached by RankMath I tried following the instructions in the link you provided but one step is not clear. Please see image: rankmath. Also, I am not sure if I am using a caching plugin (sorry I am a beginner at this), how do I check this?

    Lastly, I ran a test with PageSpeed Insights and although my desktop version is doing fine, the mobile failed the core web vitals assessment, how could I fix it? Please see image: failed assessment

    Thanks for your patience and all the help!

    Hello,

    1. In that case you can reduce the number of days in the Analytics database section to 30 days at WordPress Dashboard > Rank Math > General Settings > Analytics. This will also help optimize the database size and speed up the loading time.

    After you change the number of days, please save the settings and then click on the Delete Data button, and then Update Data Manually. This will delete the old data and fetch the new data based on your settings.

    You may also try the following plugin to create indexes on the database to speed up the MySQL calls: https://wordpress.org/plugins/index-wp-mysql-for-speed/

    If you decide to try that plugin, please take a complete backup before trying it as it will modify the database.

    2. Cache plugins are plugins used to speed up a site. Some of the popular ones are WP Rocket, WP Fastest Cache, SiteGround Optimizer, LiteSpeed Cache, WP Total Cache, etc…

    3. Please refer to this guide on speed optimization for your WordPress site.

    We hope that helps.

    Thanks.

    Gerardo Vargas
    Rank Math pro

    Hi,

    On Number 3 you stated “Please refer to this guide on speed optimization for your WordPress site.” Which guide?

    Hello,

    We apologize for the omission, please refer to this article:
    https://rankmath.com/blog/wordpress-speed-optimization/

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    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 9 replies - 1 through 9 (of 9 total)

The ticket ‘Rank Math – Slowest Wordpress Plugin – How to fix it?’ is closed to new replies.