8
1 Comment

Helpful tips from Google's Chromium team on making web app architecture decisions

With so many fancy and heavily-marketed web frameworks nowadays, you might have been as lost as me in making sense and evaluating each one of them to find the one most suited for your use case. This chart was especially helpful for me, hopefully you find it useful too!

One particular decision to make is with regards to where to implement application logic and rendering. There are a variety of approaches on the spectrum of server rendering to full client side rendering. Server rendering generates the full HTML for a page on the server. That avoids additional round-trips for data fetching and templating on the client. Drawback is the Time To First Byte is slower as generating pages on the server takes time.

Netflix’s hybrid approach is worth considering. They server render static landing pages, while prefetching the Javascript for interaction-heavy pages.

If you are doing client-side rendering, make sure you implement aggressive code splitting and lazy-load Javascript.

Also watch out for developments in making streaming server rendering and progressive rehydration work.

If you found this helpful, I run a newsletter featuring more of such content at: https://pragmaticcs.substack.com/

posted to Icon for group Developers
Developers
on May 16, 2020
  1. 1

    This is very interesting.

    It would've been nice to include the image source to get more info about it and proper attribution (and save some googling :P)

    https://developers.google.com/web/updates/2019/02/rendering-on-the-web

Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 58 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 29 comments Codenhack Beta — Full Access + Referral User Avatar 21 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments 🚀 Get Your Brand Featured on FaceSeek User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 16 comments