r/javascript • • Aug 11 '15

Netflix.com Adopts Universal JavaScript, Drops Java From Rendering Pipeline

http://www.infoq.com/news/2015/08/netflix-universal-javascript
482 Upvotes

115 comments sorted by

View all comments

-6

u/fzammetti Aug 11 '15

Will this make the site not painfully slow in Firefox on my Nexus 7?

1

u/evanbananas Aug 11 '15

I'm curious as to why you wouldn't just get the app at that point?

1

u/fzammetti Aug 11 '15

As I mentioned in another reply, the app doesn't have feature parity with the web site. The app is clearly targeted at streamers only, whereas I do both. So, things like viewing and manipulating my disc queue, searching for things not available for streaming and adding them to my queue, these are things I can't do with the app.

1

u/[deleted] Aug 11 '15

No, they were already running with client side templates, the only difference is they had duplication or frustration when they wanted to render the initial page load or some templates on the server so they replaced those server side java templates with duplicates of the javascript templates and render them in node.js such that any page request may be loaded on the server or on the client without any differences.

Netflix was already using React on the browser side, that does not change, basically this means they run React templating on the server as well in cases when they want to render something server side (like for a search engine crawler or for a JSless client or to warm the initial page load)

You should likely be using the Netflix app on an android device.

1

u/fzammetti Aug 11 '15

I would use the app if it was full-featured... I can't modify my disc queue in the app the example. Only on the site can I do that.

2

u/[deleted] Aug 11 '15

Oh DVD features, yeah, no idea there, I only stream.

1

u/[deleted] Aug 11 '15

It very well could make the site faster on a tablet. It depends why the site is slow on the tablet. If the initial page loads are completely rendered to HTML on the server, then the initial page might load a lot faster, and you may be able to see the content while the JavaScript is downloading and executing.