Current time: 12-15-2017, 12:52 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user
Quote this message in a reply
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.
Find all posts by this user
Quote this message in a reply
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?
Find all posts by this user
Quote this message in a reply
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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.
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)