6 ms·
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 a
by pythonaut_16 4y 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?
- whimsicalism 4y agothe workers are regenerating the static site on postgres push
- pythonaut_16 4y agoAh, 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.
- whimsicalism 4y agoyes exactly