Skip to content

Instantly share code, notes, and snippets.

View m-adityavardhan's full-sized avatar

AdityaVardhan Mustyala m-adityavardhan

View GitHub Profile
@m-adityavardhan
m-adityavardhan / SSR.md
Created September 16, 2025 17:51
Evolution of web app from HTML to SSR

1) Core terms (quick)

  • SSR (Server-Side Rendering): Server returns HTML for a route. Browser may later attach JS (“hydrate”) for interactivity.
  • SPA (Single-Page App): Server returns a shell (HTML + JS bundle). JS handles routing/data on the client; page doesn’t reload.
  • MPA (Multi-Page App): Traditional pages; each URL returns fresh HTML (often SSR).
  • MVC: Architectural pattern (Model–View–Controller). Not tied to rendering mode—just organization.
  • Hydration: Client JS attaches event handlers to server-rendered HTML to make it interactive.
  • BFF (Backend for Frontend): A backend tailored to a specific UI, often aggregating multiple services.

2) Canonical stacks and what they do

Linkedin = {
config: {
scrollDelay: 3000,
actionDelay: 5000,
nextPageDelay: 5000,
// set to -1 for no limit
maxRequests: -1,
totalRequestsSent: 0,
// set to false to skip adding note in invites
addNote: true,