Skip Navigation

[Resolved] A question about AJAX requests in Toolset

This thread is resolved. Here is a description of the problem and solution.

Problem:

The website was making frequent Toolset requests to /wp-admin/admin-ajax.php, increasing resource usage even on pages without auto-advancing sliders.

Solution:

Review each View for AJAX pagination, automatic sliders, AJAX custom-search updates, front-end sorting, infinite scrolling, or map updates. To identify requests, use the browser’s Network panel, filter for admin-ajax, and inspect each request’s action parameter; Toolset actions use the wpv_ prefix.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by - 2 weeks, 5 days ago.

Assisted by: Christopher Amirian.

Author
Posts
#2878394

Hi there,

We had a general question about Toolset and AJAX. While working with our web host to decrease resource usage on our website, one of the culprits that was identified was frequent visits to /wp-admin/admin-ajax.php from Toolset. (We're examining the homepage, lifetimearts.org, and some subpages.) On the homepage, we have a slider that was auto-advancing; the hits to admin-ajax.php weren't surprising. (The auto-advancing function has since been disabled.)

We've been informed by our web host that other pages which do not have slideshows also make calls to admin-ajax.php. Here's my question: aside from slideshows and things like filters on a page like hidden link, where else is AJAX employed by Toolset? Can you point me to a way to identify Toolset's AJAX usage on a given page or site-wide (e.g., via Query Monitor)?

Thanks.

Saul

#2878840

Christopher Amirian
Supporter

Languages: English (English )

Hi Saul,

Toolset's front-end AJAX comes from View settings, so it's identifiable per View rather than site-wide. The features that generate admin-ajax.php traffic:

- Pagination with AJAX transition — manual (visitor clicks) or automatic (sliders).
- Custom search with "AJAX refresh when changing any filter" — fires on every input change, with no submit button.
- AJAX results update when visitors click the search button.
- Front-end sorting on a View that updates via AJAX.
- Infinite scroll pagination.
- Maps updating when AJAX search results change.

A View with none of these enabled makes no AJAX calls.

To identify per page:

- Open the page, press F12 → Network tab, filter by admin-ajax.
- Interact with the page and reload.
- Click a request → Payload (or Request) tab → look at the action parameter.

Toolset's actions are prefixed wpv_.

Anything else belongs to another plugin.

Thanks.

#2879362

Thanks, Christopher! I appreciate the thorough response.

Saul