A lot of admin-ajax requests, some of them duplicates

This topic has 2 replies, 2 voices, and was last updated 2 years, 1 months ago ago by Rose Tyler

  • Avatar: Nick
    Nick
    Participant
    October 11, 2022 at 12:28

    Hello,

    Please check screenshot on private. There are a lot of admin-ajax requests called, and some of them are duplicates.

    Please let me know how to remove some of them and only leave the necessary.

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 11, 2022 at 15:08

    Hello,

    1/ Please read this article first – https://wpmudev.com/blog/using-ajax-with-wordpress/
    admin-ajax requests are requests which are created in theme or plugins for time-delay loading some content or loading it only in some user actions (click/hover)
    2/ you may have a few admin-ajax requests which are used for fully different cases. Example:
    Loading of product variations
    if you have a preselected variation it will trigger admin-ajax action which will be at once called to switch product image (or product gallery)
    ajax loading of some widgets
    To find the real “parent” of those requests you may disable one-by-one plugins and check the page on your testing page -> gtmetrix. Also, I wrote above all cases which are in use for ajax-requests functionality.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘A lot of admin-ajax requests, some of them duplicates’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.