otsukare Thoughts after a day of work

a dirty Web of redirections

The Web is taking a wrong turn with all these redirections minifier tracking you along the way of your clicks. And sometimes it becomes quite insane. Following my twitter account as usual, I see a link which seemed interesting.

Redirection fail

First issue, Twitter is using its own minifier to capture all clicks, and you do not have the choice to deactivate it. That is wrong. Let's see where do I go from there.

% curl -sI

HTTP/1.1 301 Moved Permanently
Date: Thu, 01 Dec 2011 15:10:08 GMT
Server: hi
Cache-Control: private,max-age=300
Expires: Thu, 01 Dec 2011 15:15:08 GMT
Connection: close
Content-Type: text/html; charset=UTF-8

Ok I'm being redirected to: Let's check it.

curl -sI

HTTP/1.1 307 Temporary Redirect
Date: Thu, 01 Dec 2011 15:11:47 GMT
Server: Apache
Cache-Control: max-age=259200
Expires: Sun, 04 Dec 2011 15:11:47 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1

Huh yet another redirection, but notice that there is no Location header.

% curl -sI ""
HTTP/1.1 200 OK
Date: Thu, 01 Dec 2011 15:35:59 GMT
Server: Apache
Cache-Control: max-age=259200, must-revalidate
Expires: Sun, 04 Dec 2011 15:35:59 GMT
X-DNS-Prefetch-Control: Off
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8

With Opera browser, I'm reaching this page which is not really encouraging for the user. Specifically the note at the bottom which says it failed.


And then in the Web page this time… It gives as the next URI, yet another URL minifier. sigh. Why so much hate?

Let's dig it!


% curl -sI

HTTP/1.1 301 Moved
Server: nginx
Date: Thu, 01 Dec 2011 15:10:42 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: _bit=4ed798ee-002bc-02170-291cf10a;;expires=Tue May 29 15:10:38 2012;path=/; HttpOnly
Cache-control: private; max-age=90
MIME-Version: 1.0
Content-Length: 178

Ah a location header which seems to make sense.

% curl -sI ""

HTTP/1.1 200 OK
Server: Apache
X-Backend-Server: pm-app-generic02
Vary: Accept-Encoding
Cache-Control: max-age=60
Content-Type: text/html; charset=UTF-8
Date: Thu, 01 Dec 2011 15:39:02 GMT
Link: <>; rel=shortlink
Expires: Thu, 01 Dec 2011 15:40:02 GMT
Transfer-Encoding: chunked
Connection: Keep-Alive
X-Powered-By: PHP/5.2.9
X-Cache-Info: caching

\ Alleluiah!

My question: Why do we put so much efforts into breaking the Web?