Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I think it's completely fine to use JavaScript here. It would be nice to have instant page pushes.

I'm not sure I follow on the instant page pushes. Are you talking about a little dialog that pops up and "says a new version of the page" kind of thing?

Second is there features you saw that required Javascript (as it appeared to me most could be done with CSS)?

And no I don't think it is "completely fine" to use JavaScript particularly if you are trying to spread the word as quickly as possible and don't care about looks (ie most devices, loads fast, low power). There are also a growing amount of people that have Javascript disabled in general.



One solution is to just send all the linked pages on first load (all the markdown content, so when transitioning they only load images, or of seen before get them "from cache").


Typically this behaviour, page prefetch, is built into a modern browser. Thus, writing it yourself is probably not a great improvement.


Really?! I need to upgrade my browser. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: