What considerations should I make when choosing between Cloudflare Pages and Workers for a Remix application's backend?

Question

Grade: Education Subject: Support
What considerations should I make when choosing between Cloudflare Pages and Workers for a Remix application's backend?
Asked by:
119 Viewed 119 Answers

Answer (119)

Best Answer
(529)
Consider the complexity of your backend logic. If it's relatively simple (e.g., basic API endpoints), Workers might be sufficient. For more complex server-side rendering, data manipulation, or database interactions, a traditional backend server or a more robust serverless platform might be better suited. Also, evaluate your expected traffic and budget, as Workers pricing is based on usage. Think about the development experience – Remix is designed for full-stack development, while Workers require more manual configuration.