S
S
Sergey Erin2020-11-18 16:25:23
Yii
Sergey Erin, 2020-11-18 16:25:23

How to shorten TTFB time?

Hello. There is a city search form, when entering, an ajax request is sent and a drop-down list appears (5 cities). Form rendered in controller

return $this->renderPartial($viewFile, [
    'cities' => $foundCities
]);

and then output in case of 200th response
resultBox.find('.scrollbar-search-form-result').html(data);

What can be done to reduce TTFB?
5fb5209b27f93761752987.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question