Current time: 10-14-2019, 06:36 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TTFB estrange behavior
09-16-2011, 12:08 AM
Post: #11
RE: TTFB estrange behavior
The theoretical limit on how fast you can make the redirect is 150ms (on the DSL testing). To do that you need to "move" the server right next to your users and have it respond quickly. Right now it looks like your application layer is spending quite a bit of time processing the redirect.

This basically means:
- Make sure the redirect is a .htaccess rule and is handled by the web server directly (it is being handled by Wordpress currently)
- Make sure the redirect is cacheable (it is currently but when you move it to .htaccess you will have to verify)
- Put your "non www" site on a CDN (this is actually incredibly difficult because you can not cname a top-level domain - it's a lot easier to serve the site from non-www and have www on a CDN to do the redirect)

You might be able to get "fast enough" just by moving the redirect into .htaccess without having to worry about the CDN but a CDN is necessary for "as fast as possible".

There is NO WAY to reduce the number of round trips (3) for the redirect so your only option is to make them as fast as possible.

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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