Live data from Hacker News

Well, that's one SEO hack... (view-source)

tutorspree.com

41–50 of 67 posts

Re: Well, that's one SEO hack... (view-source)

#42

it adds 11.5k to the page (20% overhead) for an easter egg seems a bit excessive. it would be 10x smaller and more interesting to embed a js1k game or demo in the source.

gzip makes it quite a bit less than 20%

i dont believe gzip typically applies to html, only to loaded text-based resources, js/css. i could be wrong.

either way that page's html does not come in compressed.

Re: Well, that's one SEO hack... (view-source)

#45

it adds 11.5k to the page (20% overhead) for an easter egg seems a bit excessive. it would be 10x smaller and more interesting to embed a js1k game or demo in the source.

gzip makes it quite a bit less than 20%

To be fair, I suspect it still amounts for 20% of the gzipped size.

Re: Well, that's one SEO hack... (view-source)

#47

Earlier quoted context omitted.

gzip makes it quite a bit less than 20%

i dont believe gzip typically applies to html, only to loaded text-based resources, js/css. i could be wrong. either way that page's html does not come in compressed.

gzip definitely applies to html in addition to js/css.

Re: Well, that's one SEO hack... (view-source)

#48

Earlier quoted context omitted.

gzip makes it quite a bit less than 20%

i dont believe gzip typically applies to html, only to loaded text-based resources, js/css. i could be wrong. either way that page's html does not come in compressed.

Gzip applies to whatever it's configured to apply to, and text\html is likely the most common mimetype gzipped.

tutorspree does indeed load with gzip:

  HTTP/1.1 200 OK
  Server: nginx/1.1.19
  Date: Fri, 10 May 2013 21:19:05 GMT
  Content-Type: text/html; charset=utf-8
  Transfer-Encoding: chunked
  Connection: keep-alive
  Vary: Cookie
  Content-Encoding: gzip
Post reply on HN