Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A framework-less zoomsquare.com

A framework-less zoomsquare.com

Why we moved zoomsquare.com away from client side frameworks and
JS stuff we use to make our user experience instant!

Bernd Artmüller

September 27, 2017
Tweet

Other Decks in Technology

Transcript

  1. 2 Why we moved zoomsquare.com away from client side frameworks

    and JS stuff we use to make our user experience instant!
  2. 4

  3. 5

  4. 6 Real estate search engine & platform in AT &

    DE Social media Focus more on new developments
  5. 8

  6. •Angular 2 + RxJS •Redux Stores •Webpack •Server Side Rendering

    •JiT & AoT Compilation •Async Routes & Code Splitting 9 Previous Stack
  7. •Build very slow •Complexity & „Magic“ behind the scenes •Server-side

    rendering •Lazy Loaded components flicker •Huge JS payload sent to client 10 Problems
  8. 11

  9. 12

  10. 13

  11. Webpack 2 Node.JS & Express Pug Templates Custom micro client-side

    framework (Size Budget ~30kb) - UmbrellaJS Turbolinks - AJAX page loading Self-written components ServiceWorker Redis Caching 14 Rewrite everything
  12. 15

  13. • Progressive enhancement • Page navigation with Ajax • Graceful

    degradation if JS disabled • Hybrid Apps using native navigation controls 16 Turbolinks
  14. • Node.js + Redis Service • Caches all submitted pages

    (~25.000) • Re-generate every 6 hours 23 Caching
  15. 24

  16. 28