Skip to content

Comment on HTTP Headers For Fun & Profit

Comments

I 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: <http://wp.me/Pe4R-am2>; rel=shortlink

It's not that hard to check and it seems they don't. But they have this other X-nc 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 139

The X-nc header is related to the cache. The GP is correct in that these headers used to be sent on wordpress.org and wordpress.com, but it appears they are now only sent on automattic.com

Sorry, it was automattic.com, dangrossman posted the headers.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.