Notes - Maciej001/meteor-frontend-masters GitHub Wiki

##HTTP curl -i http://127.0.0.1:3000 - request to the url, returns all assets Terminal shows that you are getting plenty packages. In a production, the build process creates just one big JS file.

HTTP is a stateless connection. Once we get our response from the server we are done, we don't maintain the connection.

Once the page is loaded we can issue AJAX request - in Javascript. Polling - is making Ajax request every some time - it's very inefficient.

Long polling - open connection, send AJAX request, keep open till we have something to send back to the client. So we don't send request every 2 seconds, but whenever we get something new. But you still have to make a loop of requests.

###Statefull protocol Open connection and keep it open. Websockets gives us this option.