Support » Plugin: Role Based Price For WooCommerce » Slow site in admin, Admin-ajax.php

  • I noticed that a customers site in backend got a lot slower after i installed WC Role Based Price.

    Every page loads these and takes aprox 2.7 sec each to load.
    /admin-ajax.php?action=wc_rbp_addon_custom_js&ver=3.0.6 2.7 sec load time
    /admin-ajax.php?action=wc_rbp_addon_custom_css&ver=3.0.6 2.7 sec load time

    What to do?

    Best regards,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Varun Sridharan

    (@varunms)

    Hi,

    if you need u can remove it but if you remove it our plugin’s addon may not work properly

    Thread Starter jpegtobbe

    (@jpegtobbe)

    Yepp, i thought so too. But maybe thats something you can approve in your plugin?

    In this case, every page load will take +5,5 sec to load because of WC RBP. So if you want to edit your products back and forth it will take so long time.

    Plugin Author Varun Sridharan

    (@varunms)

    Hi,

    i can understand your concern. sure i will think a way for it.
    but i am sure that the slow is not due to this admin-ajax.php call.

    it may be due to heavily loaded plugins or some stuff taking too much time.

    because i tested our plugin with about 50,000+ products which works great

    Thread Starter jpegtobbe

    (@jpegtobbe)

    If i sort the waterfall in chrome inspector by loadtime then
    /admin-ajax.php?action=wc_rbp_addon_custom_js&ver=3.0.6 2.7 sec load time
    /admin-ajax.php?action=wc_rbp_addon_custom_css&ver=3.0.6 2.7 sec load time
    will be at the top that takes the most time.
    The next entry below takes 200 ms. And this is on a slow server.

    If i check on my dev server it looks l RPB JS takes 1 sec, RPB CSS take 1 sec. And the next entry below takes 65 ms.

    This test is made on the dashboard in WP.

    So i think it doesnt matter how many products you have, the dashboard takes long time, every page you go to will take a lot more time. Maybe you can load the files in some other way? 🙂

    Other than that its a great plugin! 🙂

    Plugin Author Varun Sridharan

    (@varunms)

    Ok thanks for the test result .

    sure will take a look at it asap i can give try to give it a fix in next few releases

    Thread Starter jpegtobbe

    (@jpegtobbe)

    Thanks! I appreciate it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Slow site in admin, Admin-ajax.php’ is closed to new replies.