rediscovering progressive html rendering with marko templates and node.js

22

Upload: patrick-steele-idem

Post on 02-Jul-2015

1.247 views

Category:

Software


2 download

DESCRIPTION

Progressive HTML rendering is a technique to improve the performance of websites that involves sending an HTTP response for an HTML page in multiple flushes. This improves both the actual load time, as well as the perceived load time. In this talk we show how this can easily be applied using Marko Templates (an asynchronous, streaming templating engine) and Node.js. In addition, we illustrate an advanced technique of flushing HTML chunks out-of-order and using JavaScript on the client-side to move fragments into the proper order in the DOM. Learn more about Marko on Github: https://github.com/raptorjs/marko View demo: https://marko-progressive-rendering.herokuapp.com/ Demo source: https://github.com/raptorjs-samples/marko-progressive-rendering

TRANSCRIPT

Page 1: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 2: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 3: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 4: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 5: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 6: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 7: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 8: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 9: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 10: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 11: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 12: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 13: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 14: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 15: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 16: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 17: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 18: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 19: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 20: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 21: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js
Page 22: Rediscovering Progressive HTML Rendering with Marko Templates and Node.js