We did you advice about combine ajax calls into one request and it is faster now. Unfortunatly we cant use Cache, because we need all time actual data. Thanks for replies.
Yes ajax response is not problem but if i call some route where is no database query or other logic ...simple json response of some string ....the time of response in browser is about 150ms and if we have at the same time serveral request on same route the time of response is significantly bigger ......
Aktara started a new conversation Updating Different Parts Of View Using Ajax Calls ( Big Response Time )
We work on centralized webpage in laravel with a lot of clients. This webpage has view in which every second call a lot of ajax query to different laravel route. If only one client has opened page, everything works ok. Response for this ajax call take about 200ms. But if there are 10 clients(for example), server is too busy and stop responding. If we rewrite this post script to pure php(withou laravel) reponse is about 2ms. But we cant do it, because we need laravel functions(autentification, routes atc.) and security takes role too. Is there some another solution how to do this laravel ajax post calls faster?