Answer the question
In order to leave comments, you need to log in
Typeahead/autocomplete to reduce server response time to a minimum?
even with local installation, the response to ajax generated by Typeahead.js takes 1s - on the server 2s
, the request to the database itself takes negligible time. there is no doctrine
, almost a raw response from the database is shoved into JsonResponse
looked here - https://www.rome2rio.com/ in the timeline console, the
responses take 40-80ms
how is this possible?
Answer the question
In order to leave comments, you need to log in
82 milliseconds on an unoptimized Symfony application (using Doctrine) on a server with an HDD.
You obviously misconfigured something. Use a profiler and look for where you have such big drawdowns.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question