---
title: "The Future (and the Past) of the Web is Server Side Rendering"
description: "Server-side rendering is presented as the answer to bloated client-side apps, with median page weight up 388% on desktop and 1288% on mobile over ten years."
url: "https://swe.quest/articles/the-future-and-the-past-of-the-web-is-server-side-rendering-8de1b9934a1b9dca"
canonical: "https://deno.com/blog/the-future-and-past-is-server-side-rendering"
source: "Deno"
published: "2023-02-01"
difficulty: "medium"
kind: "How-to"
reading_minutes: 12
tags: ["frontend","web-performance","javascript"]
---

# The Future (and the Past) of the Web is Server Side Rendering

A post on [Deno](https://swe.quest/sources/deno.md), published 2023-02-01, 12 min read, How-to. Original: [https://deno.com/blog/the-future-and-past-is-server-side-rendering](https://deno.com/blog/the-future-and-past-is-server-side-rendering)

## Summary

Server-side rendering is presented as the answer to bloated client-side apps, with median page weight up 388% on desktop and 1288% on mobile over ten years. The post traces the path from PHP-era server rendering through SPAs and client-side rendering, then back to SSR, weighing the tradeoffs of hydration and favouring islands architecture (used by Deno's Fresh) to ship less JavaScript. A walkthrough in Deno with Oak builds three versions of the same list app: plain Handlebars templating, server-rendered HTML with client-side updates, and isomorphic JavaScript that shares one render function between server (via deno\_dom) and client.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Web performance](https://swe.quest/tags/web-performance.md) (Web & mobile)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)

## Prerequisites

- JavaScript basics ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- HTTP routing ([easy posts on Maps & geospatial](https://swe.quest/tags/geospatial.md?difficulty=easy))
- DOM manipulation

## Keywords

Deno, Oak, Handlebars, Fresh, deno\_dom, islands architecture, React

## Related posts

- [A Gentle Introduction to Islands](https://swe.quest/articles/a-gentle-introduction-to-islands-51c545953d15b8b9.md): Deno · 2023-04-26 · Medium · 10 min read · Frontend, Web performance, JavaScript, TypeScript
  Islands architecture renders pages as static HTML and hydrates only isolated interactive Preact components, avoiding the whole-page, top-down hydration that ships framework JS even for static content.
- [A Whole Website in a Single JavaScript File](https://swe.quest/articles/a-whole-website-in-a-single-javascript-file-71d46431d0988f5b.md): Deno · 2022-04-05 · Medium · 2 min read · JavaScript, Serverless, CDN & edge, Frontend, TypeScript
  A demo multi-page website fits entirely in one JavaScript file and is server-rendered on demand at the edge with Deno.
- [Fresh 1.4 – Faster Page Loads, Layouts and More](https://swe.quest/articles/fresh-1-4-faster-page-loads-layouts-and-more-0ba54de19820b6f5.md): Deno · 2023-08-16 · Medium · 7 min read · Frontend, Web performance, TypeScript
  Fresh 1.4 adds optional ahead-of-time asset compilation via \`deno task build\`, which serves island assets roughly 45-60x faster on serverless cold starts than on-the-fly JIT compilation; a ~30kB search island that took 4.28s now revives near-instantly.
- [Fresh 1.0](https://swe.quest/articles/fresh-1-0-407c9d4b84f51b2c.md): Deno · 2022-06-28 · Medium · 5 min read · Frontend, JavaScript, TypeScript, Web performance, CDN & edge
  Fresh is a full stack web framework for Deno that renders pages just-in-time on the server and ships zero JavaScript to the client by default, using the islands architecture so only explicitly opted-in components are hydrated in the browser.
- [How we built JSR](https://swe.quest/articles/how-we-built-jsr-b17e975077f4123a.md): Deno · 2024-04-12 · Medium · 18 min read · System design, JavaScript, Web performance, Rust, PostgreSQL
  JSR, the JavaScript Registry, splits into components with different reliability targets: a highly available Postgres cluster behind a Rust/Hyper API on Google Cloud Run targeting 99.9%, and a global CDN for package source and npm tarballs targeting 100% uptime.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
