<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi" -->

---
title: Extreme Server Side Rendering | daily.dev
description: An experimental technique dubbed 'extreme server side rendering' (XSSR) streams HTML and CSS over a long-lived HTTP connection at 60 FPS to render dynamic...
canonical: https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Extreme Server Side Rendering | daily.dev
og:description: An experimental technique dubbed 'extreme server side rendering' (XSSR) streams HTML and CSS over a long-lived HTTP connection at 60 FPS to render dynamic...
og:url: https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi
og:image: https://api.daily.dev/og/posts/lPstRYhFI.png
og:image:alt: Extreme Server Side Rendering
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Extreme Server Side Rendering

**[Lobsters](https://daily.dev/sources/lobsters)** · 8 min read · 1 upvotes · 0 comments

## Summary

An experimental technique dubbed 'extreme server side rendering' (XSSR) streams HTML and CSS over a long-lived HTTP connection at 60 FPS to render dynamic content without any front-end JavaScript, using a hidden iframe/form trick for user input. The author builds a fully playable Flappy Bird clone in Rust to demonstrate it, discusses performance (500 concurrent games per core), bandwidth (~20KiB/s per game), and latency tradeoffs (unplayable across long distances), and recounts accidentally causing rolling outages on Fediverse servers running Pleroma after sharing the demo, due to a link-preview generation bug that couldn't handle indefinitely open connections - which was reported and patched as a security/DoS issue.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.scd31.com/posts/extreme-server-side-rendering>

## Questions this post answers

### Can you build an interactive web app without any front-end JavaScript using server side rendering?

Yes, by keeping an HTTP connection open indefinitely and streaming HTML and CSS updates directly to the browser, which renders progressively as data arrives. User input can be captured seamlessly using a hidden iframe combined with a form targeting it, avoiding full page reloads. A working Flappy Bird clone was built this way, running the physics engine entirely server-side and streaming CSS updates at 60 FPS with no JavaScript required.

_Developers experimenting with JS-free architectures can find similar deep-dive techniques curated on daily.dev._

### How much bandwidth does streaming HTML/CSS at 60fps for a server-rendered game use compared to a typical JavaScript app?

Streaming a server-rendered game at 60 frames per second consumes about 20KiB/s of bandwidth. At that rate, it would take roughly 49 seconds of continuous gameplay to use the same data as loading a single 1MB JavaScript bundle, which is considered on the smaller side for modern web apps. Lowering the frame rate would reduce bandwidth usage further.

_Engineers weighing bandwidth trade-offs between rendering approaches can track such comparisons via daily.dev._

### Why did a Pleroma Fediverse server crash after someone posted a link to a page with an infinitely streaming HTTP response?

Pleroma crashed repeatedly because its server-side link preview generation tried to fetch and fully load the linked page, which never stopped sending data since the connection stayed open indefinitely, streaming HTML at a trickle. This behavior triggered rolling outages across Pleroma instances that reposted the link, and it was reported as a denial-of-service security bug that was quickly patched.

_Backend developers hardening services against slow-loris style DoS vectors can follow write-ups like this on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 3 discussions and 29 comments across lobsters, hackernews (as of 2026-09-14).

**TL;DR:** Discussion centers on terminology gripes over what 'rendering' really means, plus recognition that streaming HTML over a long-lived connection isn't new (forever-frame tricks, LiveView-style approaches) and some skepticism about the technique's practicality.

**Sentiment:** 25% positive · 45% mixed · 30% skeptical

**The case for**

- Some see it as a clever, jaw-dropping technical demo (e.g., achieving smooth frame rates over HTTP).
- Draws favorable comparisons to existing 'good' patterns like Phoenix LiveView and htmx that achieve similar dynamism with minimal front-end JS.

**The pushback**

- Several argue the 'rendering' terminology is misused/sloppy compared to its meaning in browser engines.
- Others point out this isn't a new idea, citing old 'forever iframe' tricks and IE-era live-update techniques.
- Some find the article's framing of front-end history dismissive or based on false premises about developers' amnesia of older techniques.
- One commenter suggests older protocols like Telnet might be more suitable than HTML for this kind of use case.

**By community**

- lobsters (mixed): A long side-debate about the correct meaning of 'rendering' dominates, alongside comments noting the technique echoes old forever-frame tricks and LiveView-style live updates.
- hackernews (mixed): Comparisons to htmx and LiveView spark some disagreement about whether those are truly equivalent, with a touch of skepticism about the approach's practicality.

**Hottest debate:** Whether 'rendering' is being used correctly to describe server-side HTML generation versus its stricter meaning in browser rendering engines.

**Open questions**

- Is this technique meaningfully different from older forever-frame or Comet-style live-update tricks?
- Would alternatives like htmx, LiveView, or even non-HTTP protocols be more practical for this use case?

**Highlights**

> It upsets me that contemporary Web developers misuse the term "rendering" to mean "HTML generation".  Browsers have rendering engines that convert HTML, CSS, and other features into an interactive document.  Both server-side and client-side applications can generate HTML to incorporate into the rendering process. Using specific terms to mean specific things makes this process easier to understand.  I have been developing Web applications for thirty years, but I imagine some newcomers will find the word "rendering" in Mozilla's documentation for [Client-side rendering](https://developer.mozilla.org/en-US/docs/Glossary/CSR) and [Rendering engine](https://developer.mozilla.org/en-US/docs/Glossary/Engine/Rendering).  I don't blame Mozilla for this and won't shoot them as the messenger. This sloppy use of language reminds me of when "responsive" stopped meaning that Web pages rendered quickly following a request and instead that they coped better with different screen sizes.
> — [tomhukins on lobsters · 6 points, 6 comments](https://lobste.rs/s/tprfej/extreme_server_side_rendering#c_es0dm4)

> I thought "surely they're just misremembering document.write()", but no, I forgot about the "forever frame", which even got a dedicated nginx module https://github.com/wandenberg/nginx-push-stream-module/blob/master/docs/examples/forever_iframe.textile
> — [viraptor on lobsters · 2 points, 1 comments](https://lobste.rs/s/tprfej/extreme_server_side_rendering#c_s7pkw3)

> > On the front-end side, there's no JavaScript or other logic required to render the page. As a result, once the page is loaded, there's no ability for it to be dynamic. Are front-end developers suffering from some kind of collective amnesia of the distant past of, like, 15 years ago?
> — [colonelpanic on lobsters · 2 points, 1 comments](https://lobste.rs/s/tprfej/extreme_server_side_rendering#c_xpgmre)

> "I think it would be funny to build a React fork that runs entirely server-side. The virtual DOM could be diff'd, and the diffs could be transmitted to the front-end via XSSR (again, no front-end JS required). I don't think this is very practical but it would be cool." This is basically Elixir liveview, and it's awesome!
> — [smw on hackernews](https://news.ycombinator.com/item?id=43146201)

> There might be some problems. I would think at this point it might be better to use Telnet and stuff like that instead of HTML.
> — [zzo38computer on hackernews](https://news.ycombinator.com/item?id=43147118)

**Source threads**

- [lobsters](https://lobste.rs/s/tprfej/extreme_server_side_rendering) · 31 points · 19 comments
- [hackernews](https://news.ycombinator.com/item?id=43100870) · 28 points · 10 comments
- [hackernews](https://news.ycombinator.com/item?id=43082807) · 2 points · 0 comments

## Similar posts on daily.dev

- [HTML over WebSockets: real-time SPAs with barely any JavaScript](https://daily.dev/posts/html-over-websockets-real-time-spas-with-barely-any-javascript-xef6zsuxl) · Hacker News · 2 upvotes · 0 comments
- [Revisiting HTML streaming for modern web performance](https://daily.dev/posts/revisiting-html-streaming-for-modern-web-performance-e7c2qz7eb) · Web Performance Calendar · 174 upvotes · 7 comments
- [Streaming SSR in Next.js: A Deep, Beginner-Friendly Guide for Production Apps](https://daily.dev/posts/streaming-ssr-in-next-js-a-deep-beginner-friendly-guide-for-production-apps-5qirbgtda) · Medium · 3 upvotes · 0 comments
- [React Server Components Streaming Performance Guide 2026](https://daily.dev/posts/react-server-components-streaming-performance-guide-2026-3dku2psop) · SitePoint · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#rust](https://daily.dev/tags/rust), [#activitypub](https://daily.dev/tags/activitypub)

[View this post on daily.dev](https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Extreme Server Side Rendering","url":"https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi"},"datePublished":"2026-09-08T15:35:41.577Z","dateModified":"2026-09-14T07:21:36.614Z","description":"An experimental technique dubbed 'extreme server side rendering' (XSSR) streams HTML and CSS over a long-lived HTTP connection at 60 FPS to render dynamic...","image":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","thumbnailUrl":"https://media.daily.dev/image/upload/s--ZrL_HSsR--/f_auto/v1722860399/public/Placeholder%2006","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,rust,activitypub","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Extreme Server Side Rendering"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/extreme-server-side-rendering-lpstryhfi#faq","mainEntity":[{"@type":"Question","name":"Can you build an interactive web app without any front-end JavaScript using server side rendering?","acceptedAnswer":{"@type":"Answer","text":"Yes, by keeping an HTTP connection open indefinitely and streaming HTML and CSS updates directly to the browser, which renders progressively as data arrives. User input can be captured seamlessly using a hidden iframe combined with a form targeting it, avoiding full page reloads. A working Flappy Bird clone was built this way, running the physics engine entirely server-side and streaming CSS updates at 60 FPS with no JavaScript required. Developers experimenting with JS-free architectures can find similar deep-dive techniques curated on daily.dev."}},{"@type":"Question","name":"How much bandwidth does streaming HTML/CSS at 60fps for a server-rendered game use compared to a typical JavaScript app?","acceptedAnswer":{"@type":"Answer","text":"Streaming a server-rendered game at 60 frames per second consumes about 20KiB/s of bandwidth. At that rate, it would take roughly 49 seconds of continuous gameplay to use the same data as loading a single 1MB JavaScript bundle, which is considered on the smaller side for modern web apps. Lowering the frame rate would reduce bandwidth usage further. Engineers weighing bandwidth trade-offs between rendering approaches can track such comparisons via daily.dev."}},{"@type":"Question","name":"Why did a Pleroma Fediverse server crash after someone posted a link to a page with an infinitely streaming HTTP response?","acceptedAnswer":{"@type":"Answer","text":"Pleroma crashed repeatedly because its server-side link preview generation tried to fetch and fully load the linked page, which never stopped sending data since the connection stayed open indefinitely, streaming HTML at a trickle. This behavior triggered rolling outages across Pleroma instances that reposted the link, and it was reported as a denial-of-service security bug that was quickly patched. Backend developers hardening services against slow-loris style DoS vectors can follow write-ups like this on daily.dev."}}]}
```

