title: How can I reduce the waiting (ttfb) time
body: <p>I have a query which involves getting a list of user from a table in sorted order based on at what time it was created. I got the following timing diagram from the chrome developer tools.</p>
  
  <p><img src="https://i.stack.imgur.com/LOPEF.png" alt="timing from the chrome"></p>
  
  <p>You can see that TTFB (time to first byte) is too high.
  <br/>
  I am not sure whether it is because of the SQL sort. If that is the reason then how can I reduce this time?
  <br/>
  Or is it because of the TTFB. I saw blogs which says that TTFB should be less (&lt; 1sec). But for me it shows >1 sec. Is it because of my query or something else?
  <br/>
  I am not sure how can I reduce this time. 
  <br/>
  I am using angular. Should I use angular to sort the table instead of SQL sort? (many posts say that shouldn't be the issue)
  <br/>
  What I want to know is how can I reduce TTFB. Guys! I am actually new to this. It is the task given to me by my team members. I am not sure how can I reduce TTFB time. I saw many posts, but not able to understand properly. What is TTFB. Is it the time taken by the server?</p>