Hacker News new | ask | show | jobs
by pythonaut_16 1330 days ago
Can you explain how Cloudflare Workers factor into hosting static pages on Cloudflare Pages vs hosting a React SPA on pages that talks to any other API?

Like are the workers just serving as your backend at that point? Or are they doing something more or different as well?

1 comments

the workers are regenerating the static site on postgres push
Ah, so still fully static vs. a SPA that uses REST or GraphQL. So then clients interact with it as static HTML/JS rather than hydrating it via Javascript.
yes exactly