MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Reducing TTFB
Current time: 02-28-2020, 05:15 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reducing TTFB
03-22-2015, 07:57 AM
Post: #1
Reducing TTFB
I've ran a traceroute which indicates my ping to the server is about 7ms.

I've also ran a webpagetest:


As you can see the TTFB is 82-85ms for static files, this seems quite high to me considering the network latency is only 7ms.

Is there anything I can do to bring this down? My server runs on Ubuntu 14.10 with Apache 2.4.12 (event worker)
Hostnamelookups are turned off and MMAP and sendfile are turned on.
I've also enabled the disk cache, but I'm not sure if its working properly.

In the 2nd test you can see that when running a php script the TTFB increases by about 20ms over the 82-85ms. I suppose this only a little increase which is to be expected since the page has to be created dynamically?

Is there anything I can do to optimize the TTFB for dynamic files?
I'm already using FPM/FastCGI (UNIX sockets for the connection) and have the latest PHP 5.6 with the opcache.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Reducing TTFB - gijs007 - 03-22-2015 07:57 AM
RE: Reducing TTFB - pmeenan - 03-24-2015, 02:24 AM
RE: Reducing TTFB - alien_ - 03-31-2015, 06:39 AM
RE: Reducing TTFB - gijs007 - 04-27-2015, 06:17 AM
RE: Reducing TTFB - pmeenan - 04-27-2015, 10:52 PM
RE: Reducing TTFB - dfavor - 05-15-2015, 12:27 AM
RE: Reducing TTFB - gijs007 - 05-26-2015, 02:55 AM
RE: Reducing TTFB - Fernus - 06-05-2015, 10:45 AM
RE: Reducing TTFB - JamesAtPulsate - 06-06-2015, 07:08 AM
RE: Reducing TTFB - dfavor - 09-02-2015, 11:29 PM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)