What the hell is going on with those expand-on-hover boxes that you need to move your mouse to see? Who thought that was a good idea?
HTTP Headers For Fun & Profit
21–30 of 53 posts
Re: HTTP Headers For Fun & Profit
#22https://github.com/brightmarch/BrightmarchRestfulBundle/blob...
Re: HTTP Headers For Fun & Profit
#23Is this not a terrible waste of bandwidth though ? At about 10 bytes per header (on the low end..) and say 100 million requests per day, that amounts to 1Gb of outbound bandwidth, if you count inbound bandwidth then that comes to 2gb in total. Not to mention the cumulative time spent by users downloading those bytes, thereby delaying resource display. Okay, I see that I sucked the fun out of it :P
At some point you have to question whether you're being too stingy with bandwidth. Particularly when easter eggs like this could potentially bring you a few new visitors from the free advertising that happens when your site is discussed on blogs and forums like these.
But if nothing else; I think fun should be encouraged. After all, that's what Wozniak set out to do when he co-founded Apple :P
Re: HTTP Headers For Fun & Profit
#24Am i getting too old? When I see "for fun and profit" I don't think I'm going to read about some easter eggs hiding in http headers.
Re: HTTP Headers For Fun & Profit
#25Is this not a terrible waste of bandwidth though ? At about 10 bytes per header (on the low end..) and say 100 million requests per day, that amounts to 1Gb of outbound bandwidth, if you count inbound bandwidth then that comes to 2gb in total. Not to mention the cumulative time spent by users downloading those bytes, thereby delaying resource display. Okay, I see that I sucked the fun out of it :P
Maybe they're just sending the headers for user-agent "curl"?
Re: HTTP Headers For Fun & Profit
#26curl -I www.reddit.com HTTP/1.1 200 OK Content-Type: text/html; charset=UTF-8 Server: '; DROP TABLE servertypes; -- Date: Fri, 07 Dec 2012 10:30:26 GMT Connection: keep-alive
Re: HTTP Headers For Fun & Profit
#27Is this not a terrible waste of bandwidth though ? At about 10 bytes per header (on the low end..) and say 100 million requests per day, that amounts to 1Gb of outbound bandwidth, if you count inbound bandwidth then that comes to 2gb in total. Not to mention the cumulative time spent by users downloading those bytes, thereby delaying resource display. Okay, I see that I sucked the fun out of it :P
Besides, there's more wasted bandwidth from dubious user generated content per second floating around the internet at any second.
If you have 100 million requests per day, then you definitely have bigger problems such as your monthly CDN bill. :)
Re: HTTP Headers For Fun & Profit
#28I know Wordpress.org sends a header called X-Hacker or something, telling people who see the header to look at their jobs page and tell them about the header.
$ curl -I wordpress.org
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 07 Dec 2012 12:15:43 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Vary: Accept-Encoding
X-nc: HIT luv 139Re: HTTP Headers For Fun & Profit
#29I know Wordpress.org sends a header called X-Hacker or something, telling people who see the header to look at their jobs page and tell them about the header.
# curl -I http://automattic.com
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 07 Dec 2012 12:53:44 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
Last-Modified: Fri, 07 Dec 2012 12:51:57 GMT
Cache-Control: max-age=193, must-revalidate
X-nananana: Batcache
Vary: Cookie
X-hacker: If you're reading this, you should visit automattic.com/jobs and apply to join the fun, mention this header.
X-Pingback: http://automattic.com/xmlrpc.php
Link: ; rel=shortlink