I’ve been troubleshooting large amounts of hits to the /admin-ajax.php on many of my sites on SiteGround. I tried to limit and completely disable the Heartbeat API via my functions.php file but it didn’t work. I’m trying your plugin now. I’ve had it installed and activated on 3 of my sites for over 24 hours. I’ve got all options set to Disable.
Yet, I’m still getting many hits to the /admin-ajax.php over the last 24 hours:
17592 for https://example1.com/wp-admin/admin-ajax.php
6277 for https://example1.com/wp-admin/admin-ajax.php
453 for https://example1.com/wp-admin/admin-ajax.php
Shouldn’t it be 0 hits for all 3 sites??
Thanks!
Jutta
Even using LiteSpeed WP plugin, and Cloudflare nameservers, my site is extremely slow. I can see in GTMetrix and Pingdom tools that the file admin-ajax.php shows long wait times.
After a Google search, seems that this may happen due to normal functionality of WP Heartbeat API, so the best approach is to disable it or at least set a longer time interval so that it does not hit the server after every few seconds. This is safe if there is only one WP author.
Can LiteSpeed help us with WP Heartbeat API management?
Thank you very much!
]]>Sunny regrads
Boris
After some digging it turns out that this plugin uses admin-ajax.php poorly. Deactivate the plugin and the problem goes away.
As it currently stands – I cannot use this plugin, please let me know if / when you will fix this issue so that I can get it up and running again.
I was otherwise happy with the functionality.
]]>On shared hosting systems, the frequent AJAX calls create unnecessary load and there are many on the web who support disabling the heartbeat API to get around this problem, thinking it’s all about autosave and post locking, but managing featured images is not something that can just go missing.
Is there some way to keep managing featured images with heartbeat turned off?
]]>But how do I get a new one? My idea would be to check heartbeat-tick.wp-auth-check
data for being false and then enqueue my own heartbeat request. Is that a good idea or is there another way I am supposed to do it?