Skip to:
Content
Pages
Categories
Search
Top
Bottom

admin-ajax.php high wait time on pingdom test


  • atsouf
    Participant

    @atsouf

    Hello,

    I am using wordpress 4.2.2 and buddypress 2.2.3.1 with bbpress 2.5.7

    i have an issue with my buddypress wordpress. My site has load time 10 secs with admin-ajax.php loading 3 times with 3-4 sec delay every time.

    The only thing i could find on the forums has to do with woocoomerce which i dont have activated on my theme. I guess the only thing that has issues with admin-ajax.php is the buddypress login thats why i open that topic.
    You can check what i mean here http://tools.pingdom.com/fpt/#!/dBUhCx/http://apofasismenoi.gr/

    I tried some solutions like heartbeat options pluggin that didnt work.

    Also i tried and added on functions a suggested code

    add_action( 'init', 'my_deregister_heartbeat', 1 );
    function my_deregister_heartbeat() {
    	global $pagenow;
    
    	if ( 'post.php' != $pagenow && 'post-new.php' != $pagenow )
    		wp_deregister_script('heartbeat');
    }

    but still didnt work.

    Any ideas or help?

    Chris

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

  • Henry Wright
    Moderator

    @henrywright

    admin-ajax.php is known for being clunky, but not 10-second-wait clunky. Which plugins are you running? Which theme? And also do you have any custom code in place that calls admin-ajax.php?


    atsouf
    Participant

    @atsouf

    Hello and thanks for the fast reply.

    1st I have a lot of custom code but nothing that interferes with admin-ajax.php

    2nd My plugins (please dont panic)

    Agreeable
    bbpress
    bbpress – custom kses allowed tags
    bbpress -enable tinymce visual tab
    bbpress moderation
    buddypress
    buddypress captcha
    Contact form 7
    easysocial icons
    events manager
    GB bbpress tools
    google analytics by yoast
    Gzip ninja speed compression
    Loco translate
    Speakout! email petitions
    Tinymce advanced
    Wordpress SEO
    WP bakery visual composer
    WP super cache
    YOP Poll

    3d theme: fraction from orange themes (i already contacted their support and i am waiting for their reply)


    Henry Wright
    Moderator

    @henrywright

    Looking through your list of active plugins, it’s likely one or more are using admin-ajax.php. You should try identify which of them are a) using the resource and b) how often. The Heartbeat API is known to put pressure on admin-ajax.php so perhaps check if any are using that as well.


    atsouf
    Participant

    @atsouf

    Any chance there is a test that can tell me which plugins or functions use heartbeat api?


    Henry Wright
    Moderator

    @henrywright

    Not that I know of. Have a read of How to Take Control of The WordPress Heartbeat API for an overview of the performance issues associated with it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘admin-ajax.php high wait time on pingdom test’ is closed to new replies.
Skip to toolbar