Fastest . => www. Redirect?
|
06-05-2015, 07:41 AM
Post: #1
|
|||
|
|||
Fastest . => www. Redirect?
Hi folks,
how is it possible to get instant redirects like from nytimes.com => http://www.nytimes.com its crazy fast. can anyone tell me how big sites are able to do that? when i hit enter i instantly ge the => www. redirect.. thanks a lot for your help! mark |
|||
06-06-2015, 09:04 AM
Post: #2
|
|||
|
|||
RE: Fastest . => www. Redirect?
Most websites use a htaccess or http config redirect which will redirect the visitor prior to the server hitting something like the php hypervisor. What thia means in general terms is that the site admins configure their server to send and traffic which matches certain patterns to another address and thwn close the connnection.
I specialise in speeding up websites. Want a free quote? Just give us a private message and we'll see what we can do for you. |
|||
06-07-2015, 10:16 PM
Post: #3
|
|||
|
|||
RE: Fastest . => www. Redirect?
I think thats not really the point. Of course you need use htaccess instead of i.e. some wordpress or php 301.
but still, if you use htaccess on a "normal" website, you will never get these extreme fast redirects to www as for example on http://nytimes.com I would also be very interested how this is possible. any ideas? |
|||
06-10-2015, 04:43 AM
Post: #4
|
|||
|
|||
RE: Fastest . => www. Redirect?
A request to nytimes.com responds with "HTTP/1.1 301 http://www.nytimes.com/", so nothing particularly special going on there.
They are using Varnish, so it could be that is where they've configured the redirect. |
|||
06-10-2015, 07:13 AM
(This post was last modified: 06-10-2015 07:13 AM by JamesAtPulsate.)
Post: #5
|
|||
|
|||
RE: Fastest . => www. Redirect?
43ms is nice alright. Of course it's not being directed to https so that helps some. I wonder if varnish plays a role in that 43ms time.
https://www.varnish-cache.org/trac/wiki/...irectInVCL |
|||
06-10-2015, 11:33 PM
Post: #6
|
|||
|
|||
RE: Fastest . => www. Redirect?
As far as your local experience goes, a 301 is a cacheable "permanent" redirect to the browser remembers it and never sends the original request.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)