Current time: 02-20-2018, 03:45 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First byte time on first run
11-19-2017, 10:47 PM
Post: #5
RE: First byte time on first run
(11-18-2017 07:15 PM)Cloudmaster Wrote:  Things seem to be going well!!

I'd like to think that MySQL tuning has had the biggest difference, but another change I made was to point Wordpress to 127.0.0.1 for the database rather than localhost. I think that's made the biggest difference.

http://www.webpagetest.org/result/171118...a324a94cf/

Changing 127.0.0.1 to localhost has so tiny difference in your case that you really shouldn't even think about it unless your WP executes dozens of thousands of SQL queries.

Most probably you have caching plugin installed (W3TC or something similar) or your web server is caching your pages on per URL basis. On first visit you hit empty cache and PHP code has to be run on your server which results in 1.0+ sec response times. On subsequent requests the cache for this URL is already populated and it's a basically matter of sending back static content to the user browser.

You can easily verify that. Check response times for:
http://randomthoughts.trisect.uk/?t=3
(alter the "3" at the end). You will notice that the first request takes 1.0sec+ time to complete and next requests to that URL require substantially less time to complete. Then change the URL parameter again to notice that the first request again requires 1.0sec+.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
First byte time on first run - Cloudmaster - 11-14-2017, 09:17 PM
RE: First byte time on first run - dfavor - 11-16-2017, 03:16 AM
RE: First byte time on first run - datadiggers - 11-19-2017 10:47 PM
RE: First byte time on first run - dfavor - 11-22-2017, 10:38 AM

Forum Jump:


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