Cloudflare Workers lets devs build and extend the capabilities of serverless sites. In this article, we will learn how Cloudflare Workers works and when it makes sense to add it to our technology stack.
Serverless is very appealing for several reasons:
You only pay for what you use. Hosting static files on the cloud can cost just a few cents a month (or even be free in some cases).
Static files can be delivered to the user from a Content Delivery Network (CDN) located near the user.
The cloud provider constantly keeps the underlying platform up-to-date.
- Easy to scale
The cloud provider’s business is to scale up the infrastructure on demand.