News for hackers. Stuff that matters.
Re:How would you serve 100,000 simultaneous comet requests w... by notauser on Wednesday January 20, 2010 @09:46PM (#1066466)
Slightly related...

I have been really enjoying writing code for node.js - I'm using it to render content for non-javascript capable clients and it's handing the load nicely. Being able to maintain one set of tests is a huge win over having a python and a JS implementation.

Has anyone got a good way to redirect non-JS clients to a different set of URLs? At the moment I'm using a combination of user agent sniffing and js+meta page refresh, is there a better way?

Re:How would you serve 100,000 simultaneous comet requests w... by cschneid on Wednesday January 20, 2010 @11:14PM (#1066608)
A <noscript> tag that has a message "You're viewing our javascript-free site. Most features are here, but try upgrading", with a link?
Re:How would you serve 100,000 simultaneous comet requests w... by iigs on Thursday January 21, 2010 @12:05AM (#1066669)
I just tested a meta refresh inside a noscript tag. It works (in FF, at least). I'm sure it would make some validator angry, but it would make automatic redirection easy for the js-disabled case.
Re:How would you serve 100,000 simultaneous comet requests w... by notauser on Thursday January 21, 2010 @07:34AM (#1067158)
That's a great idea, thank you. It seems to work in safari too.