I am trying to: eliminate the accessive triggering of ajax
Link to a page where the issue can be seen: hidden link
I expected to see: inside the developer tools > network I noticed 8 separate triggers for ajax. I only need to see 1
Instead, I got: triggered 8 ajax requests
Hi,
Thank you for contacting us and I'd be happy to assist.
From the page's code it seems that there are two different views used on it.
( view IDs: 7451 & 7583 )
To troubleshoot this, I'll need to see how these views are set up in the admin area. Can you please share temporary admin login details in reply to this message?
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
regards,
Waqar
Thank you for sharing the access details.
There are total of 5 views used on that page. The AJAX requests that are initiating on the page load are coming from the views which have pagination options enabled on them.
To limit those AJAX requests, you can go to advanced pagination settings in those views, and limit the number of pre-loaded pages.
( screenshot: hidden link )
The more number of pages set for pre-loading, the more AJAX requests will be needed in the background.