igrigorik / http-client-hints

402 stars 24 forks source link

Client hint proposal: `JS` #66

Closed wimleers closed 8 years ago

wimleers commented 8 years ago

Some functionality only makes sense if the user has JavaScript enabled.

And even sites that are usually rendered on the client side may want to serve a server-side rendered response if it notices the client doesn't have JavaScript.

Hence a boolean JS client hint would be quite valuable.

(My concrete use case: Facebook BigPipe-style rendering: https://www.drupal.org/project/big_pipe.)

yoavweiss commented 8 years ago

Note that this only makes sense for navigational requests, where we don't have a reasonable opt-in solution.

igrigorik commented 8 years ago

Agreed, this is a no-op for CH as we have it defined currently. Also, I'm somewhat skeptical of usefulness.. do you have any telemetry on how often JS is disabled?

igrigorik commented 8 years ago

Closing. If you want to reopen, please do so on: https://github.com/httpwg/http-extensions/issues?q=is%3Aopen+is%3Aissue+label%3Aclient-hints (migrating issues there).