---
title: "Serverless site deployment"
date: "2026-02"
category: "Essays"
tags: ["Essays"]
description: "Reactive pages mostly means reacting to data flow, but as far as the whole page display on the frontend goes, it's really a static page..."
source: "https://enriquemark.com/en/posts/Serverless%E7%9A%84%E7%BD%91%E7%AB%99%E9%83%A8%E7%BD%B2"
---

Reactive pages mostly means reacting to data flow, but as far as the whole page display on the frontend goes, it's really a static page.

The SPAs (single-page applications) that are well known now are basically all static pages. One upside is that you can use a platform like Cloudflare Pages or Vercel and deploy for free. Stay inside those limits and your site runs with no server at all.

The other side is the backend API, and those APIs are the key to serving a dynamic page. A page that changes dynamically has to display a data flow in the first place. This splits into two parts: compute and storage.

1. Compute:
   If it's plain business computation, hand it to Cloudflare Workers, which already provides a compute service.
2. Storage:
   For the database part, the whole Cloudflare product family covers that too, hosted relational database services and so on.

You can get to "zero server" for basically all of it, and that's what Serverless means. Looked at this way, deploying a site yourself isn't that hard, you can even drop the traditional server, and there's no need to go rent a VPS.

---

**Translation note.** I wrote this in Chinese. This English version is an LLM translation, so the wording is not mine even though the thinking is. Original: [Serverless的网站部署](</zh-hant/posts/Serverless的网站部署>).
