Edge Rendering represents the new state-of-the-art in frontend hosting: rather than hosting your code in just a single location, host it globally in dozens or hundreds of locations to be as close as possible to your users. And unlike a CDN, an edge rendering network has the power to serve static and dynamic content just as easily, a perfect match for FABs, the technology underpinning Linc.
It’s still a new field, but one product has emerged as the best in the world: Cloudflare Workers.
What are Workers?
Cloudflare Workers run on the Cloudflare global cloud network that spans over 200 cities in more than 100 countries.
With Cloudflare’s offering, you only pay for what you use. Hosting static files on cloud can cost you just a few cents a month, so you can get set up without prohibitive costs.
This advanced approach is 100% compatible with FABs.
Not only do you get the benefit of moving workloads to within a few milliseconds of your users, the V8 isolate-based infrastructure also performs significantly better than competing serverless offerings. The Cloudflare team ran tests to compare Cloudflare Workers against AWS Lambda and Lambda@Edge, and came to the conclusion that Workers is 441% faster than a Lambda function, and 192% faster than Lambda@Edge.
A Worker offering 50 milliseconds of CPU costs $0.50 per million requests, the equivalent Lambda costs $1.81 per million. Therefore, Workers end up being about 3X cheaper.
“Building and hosting a nextjs site on Cloudflare Workers via Linc was a great experience! My only critique is that switching between tabs to get my Cloudflare api token setup correctly was a little tedious”
All of Linc's features are supported regardless of your chosen host, but setting up with Workers just takes a few minutes and offers superior performance at a low cost.
For detailed information for more information on how to get set up, head over to our docs.