Current time: 05-31-2020, 03:08 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TTFB & Page speed issue
05-31-2017, 12:49 AM
Post: #5
RE: TTFB & Page speed issue
In general I'd agree with tuning the stack but most of the other initial steps carry big giant "it depends" warnings and a lot of it is going to depend on the hosting (i.e. if it is running on a cheap shared hosting provider then step one is probably going to be to change the hosting).

1) Cloudflare - disabling it is a good idea while you work on the underlying performance so you aren't also debugging the CDN interactions but once the app is working well it could be a good idea to turn it back on for serving the static assets from the edge, particularly if you have a global audience or are hosting from somewhere other than where the audience is.

2/3) Dump NGINX? The site may not be on nginx (Cloudflare uses it) but if it was, I wouldn't necessarily recommend moving off of it. Nginx + php-fpm is easily the fastest config I have seen for serving php and scales WAY better.

Apache with mod_php is stuck running in prefork which means each client connecting has a dedicated apache process for the life of the connection (even if it is idle). It is really easy to run out of processes really quick.

I run a few high volume php sites on Nginx (webpagetest and httparchive.org most notably) with both hitting over 500 requests per second and still serving responses in under 10ms.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: TTFB & Page speed issue - pmeenan - 05-30-2017, 11:08 PM
RE: TTFB & Page speed issue - pmeenan - 05-30-2017, 11:32 PM
RE: TTFB & Page speed issue - dfavor - 05-31-2017, 12:16 AM
RE: TTFB & Page speed issue - GreenGecko - 06-03-2017, 04:18 PM
RE: TTFB & Page speed issue - pmeenan - 05-31-2017 12:49 AM
RE: TTFB & Page speed issue - dfavor - 06-10-2017, 08:38 AM
RE: TTFB & Page speed issue - GreenGecko - 06-10-2017, 04:00 PM
RE: TTFB & Page speed issue - datadiggers - 06-26-2017, 06:29 PM
RE: TTFB & Page speed issue - GreenGecko - 06-27-2017, 03:48 PM
RE: TTFB & Page speed issue - datadiggers - 06-27-2017, 04:36 PM
RE: TTFB & Page speed issue - GreenGecko - 06-28-2017, 04:59 PM
RE: TTFB & Page speed issue - dfavor - 07-07-2017, 12:03 AM
RE: TTFB & Page speed issue - diesel2 - 07-27-2017, 02:50 AM
RE: TTFB & Page speed issue - GreenGecko - 07-27-2017, 11:33 AM
RE: TTFB & Page speed issue - diesel2 - 08-18-2017, 02:37 AM

Forum Jump:


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