0

On my WooCommerce site, can anyone tell me why admin-ajax.php is being called so many times, because it's killing my site load times.

I read about the admin-ajax/heartbeat api issue and tried disabling that, but it didn't help.

Here is a graphic of the site load: https://www.ashlynnpress.com/imgs/pageload.png

edit7279
  • 175
  • 5
  • 15
  • it's because you are logged in.. it will try to see your logged in session... logout and try again.. – Reigel Gallarde Feb 02 '15 at 16:00
  • Do you mean logged into my Wordpress admin? I'm pretty sure I'm not. I'm actually at work at the moment haven't logged into my site since last night. – edit7279 Feb 02 '15 at 16:08
  • I just loaded up your site and I don't have any admin-ajax calls loaded on my network tab. Also of note; you're using w3total cache. I can't know this, but you may have caching disabled for administrative logins (which means you'd be logged in even on your work machine). The easiest way to know would be to go to `/wp-admin` and see if you are asked to login. If you're not then you're already logged in and that's why you see the admin-ajax calls. – Rebecca Dessonville Feb 02 '15 at 16:19
  • Oooh... i lied. i had filters on. I see two calls to admin-ajax when not logged in. Looks like wordfence. – Rebecca Dessonville Feb 02 '15 at 16:20
  • Hmm. Okay, I thought that might be the culprit. Let me tinker with it for a few. Thanks so much. I'll repost findings. – edit7279 Feb 02 '15 at 16:22
  • Well, getting rid of the Wordfence made a huge difference. I really need the other plugins I have running. Here is an updated pageload graphic (https://www.ashlynnpress.com/imgs/pageload2.png) You can obviously see the two calls for the admin-ajax.php file. – edit7279 Feb 02 '15 at 17:49
  • try disabling Woo commerce too.... – David Feb 02 '15 at 22:12

0 Answers0