Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reduce first byte time or first load time

I have developed a joomla 3.2 site. I have tested it with webpagetest.org and i got following results

First Byte Time-F
Keep-alive Enabled-A
Compress Transfer-A
Compress Images-A
Progressive JPEGs-F
Cache static content-A
Effective use of CDN-yes

link for the result-http://www.webpagetest.org/result/140205_RX_DE5/1/details/ www.webpagetest.org/result/140205_RX_DE5/

I have enabled cdn on my site.Now, I want to reduce my site's first byte time as i'm getting F in First byte time. how can i improve my site's performance?? And, how can i convert images to progressive images as i also got F in progressive JPEGs??

Here's link to my site-http://www.guru99.com

Please help me to improve site performance.

like image 814
Tushar Korat Avatar asked Feb 05 '14 12:02

Tushar Korat


People also ask

Why is my time to first byte so long?

Another big factor that can contribute to TTFB are the queries to your database. Too many queries, queries that run too long, or queries that don't complete will all directly impact the page's ability to load efficiently.

What affects time first byte?

What affects time to first byte? TTFB is impacted by three key actions: 1) sending a request from a client machine to the server, 2) processing that request on the server and generating a response, and 3) sending the response from the server to the client.

What is a good time to first byte?

What is a Good TTFB? According to SearchEnginePeople and Google, your TTFB needs to be less than 200 milliseconds (ms). This number also differs by the type of content on your page. Static content should load at 100ms while dynamic content should load at a speed of 200 – 500ms.


1 Answers

I had about 0.8/1s ttfb with shared hosting. Moved to VPS changed service from apache to nginx and PHP-FCGI

Still was not enought. TTFB was 250/400 Searched the web for 3 days. Without any result, in lowering ttfb.

Till i found this: http://help.directadmin.com/item.php?id=567

OpCache Help me to reduce ttfb to 0.12/0.2 ms for my joomla site.

like image 86
Donatas Avatar answered Sep 26 '22 17:09

Donatas