I am developing an ajax project, but I'm confused with something
I have 3 functions that send data to the server, each function has a specific job.
it’s better to group the ajax request that will be sent from each function and send it into one big request. which will reduce the number of requests and time. or send each request separately, which will reduce the execution time for my server-side code, but will make many requests.
PS: for my application, it works in both cases.
source
share