MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
TTFB grade D when accessing non-www version of website
Current time: 03-01-2021, 02:43 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TTFB grade D when accessing non-www version of website
08-13-2015, 10:29 PM
Post: #1
TTFB grade D when accessing non-www version of website
Here are my tests results:

http://www.webpagetest.org/result/150813...1/details/

In find the first DNS resolve time pretty long (according to my inexperienced judgment) and that probably explains the Grade D

If I run the test against the www version, then I get grade A or sometimes B.

The permanent redirection from non-www to www is done in the vhost file of my Apache server. I did something like that:

Code:
# Assuming that Apache listens on 127.0.0.1
<VirtualHost 127.0.0.1>
  ServerName domainname.com
  <IfModule mod_alias.c>
    Redirect permanent / http://www.domainname.com/
  </IfModule>
</VirtualHost>

<VirtualHost 127.0.0.1>
  ServerName www.domainname.com
  # other directives to process www.domainname.com
</VirtualHost>
[/
code]

Could someone provide me with a hint to improve the non-www version ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
TTFB grade D when accessing non-www version of website - graphicsxp - 08-13-2015 10:29 PM

Forum Jump:


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