• Hi there,

    we have a lot of plugins on our site and unfortunately can’t reduce the number.

    Ajax Requests take a long time and I imagine it is because a lot of plugins are called each time a Ajax request hits the page.

    As far as I know admin-ajax.php loads all plugins as they may be needed to answer the request (at least their hook into the ajax function is needed).

    Is there a way to speed up the ajax responses without hacking plugins (like writing custom scripts to answer custom ajax requests).

    I imagine it should be possible to configurate which plugins should be loaded on a specific request.

    For example a autocomplete request for events don’t have to load woocommerce.
    A “put in shop” request doesn’t need to load the backup tool etc.

    Are there any ready solutions for this?

    I guess I have came across some scripts to put in a MU plugin that plays like most plugins are deactivated for the one request. That seems to be a good way but one where lots of hand work is necessary.

    Thanks for advices,

    ib4s

  • The topic ‘Speed up Admin-Ajax.php’ is closed to new replies.