Menu

Rendering for enterprise apps: CSR, SSR or both?
📰

Rendering for enterprise apps: CSR, SSR or both?

DEV Community: angular·Adil Ben Moussa·8 days ago
#KawhcoBS
#devtoangular#devto#dev#server#angular
Long article (1529 words) — no AI summary yet.
Reading 0:00
15s threshold

This is part 4 of 8 of the free series Frontend system design for enterprise applications , first published on tt-tech.io .

A team adds server-side rendering to an internal banking dashboard. Every page needs a logged-in user, no search engine will ever see it, and now there is a Node server to run, patch and audit. The first load is a little faster. The bill and the attack surface are a lot bigger.

Many logged-in enterprise apps do not need server rendering. Some parts of the same organisation do. The decision is per page, not per company.

CSR for the app, SSR or prerender for the public pages

Angular's own guide is honest about both sides. Client-side rendering "has the simplest development model", and "the server does not need to do any work to render a page beyond serving static JavaScript assets". It "generally has worse performance", and "may negatively affect" SEO for pages that crawlers index.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.