Search code examples
phpwordpresswaterfalladmin-ajax

Admin Ajax causing slow wordpress site (waterfall)


Text

Can someone help me figure out how to fix the slow admin-ajax.php problem? Sorry I'm new to wordpress.

I understand it could be related to the wpbakery (visual composer) plugin used to build the site. But I've disabled plugins one by one and can't figure out the cause.

EDIT: I've used Heartbeat API Plugin as well to no avail.

Thanks in advance.

https://i.sstatic.net/LNfRD.png


Solution

  • I ended up just deferring it with W3 Total Cache under the Minify settings for JS by copying and pasting the admin-ajax.php script.