Edge functions (serverless functions run at the CDN level) feel like something that is potentially game changing for Jamstack. They keep the performance that Jamstack is famous for, but allow for some complex dynamic solutions. I've been messing around with Cloudflare Workers and it's definitely triggered a lot of ideas on how I might utilize edge functions to solve a variety of problems, for instance the flash of original content before client-side rendering kicks in for personalized content.
Pretty much all the other deployment providers are headed down this path too, including Vercel and Netlify. It'll be interesting to see if support for these get baked into other tools and how that affects how we build Jamstack sites.
|
|
Vercel Edge Functions in Beta Vercel released the beta of their edge functions which work in conjunction with Next.js 12 middleware to allow updates to occur in functions “at the edge” (i.e. on the CDN during the request/response phase).
Vercel
|
How to Internationalize Sites with Country-Based Redirects A look at best practices that Netlify recommends for creating large, internationalized sites by deploying each localized version as its own site and then route users at the edge to the appropriate version using redirects.
Bhavana Srinivas
|
Localizing Your Next.js App Speaking of internationalization, this post explores how to build this into a Next.js and pre-rendering localized content for better performance.
@atilafassina
|
Working with LaunchDarkly on Netlify How do you connect feature flags to a Jamstack site where most of the content is pre-built? I explore ways to tie your build into flag value changes.
Brian Rinaldi
|
What is Decoupling, Actually? 'Decoupling' is a term that is frequently used when describing the Jamstack you might hear often, but it isn’t always clearly defined. This conversation helps clarify it.
Netlify
|
Thank you for reading. I'll catch you next time — Brian
|
|
|