illustration for Cache Supabase data at the Edge with Cloudflare Workers and KV Storage
free

Cache Supabase data at the Edge with Cloudflare Workers and KV Storage

Instructor

Jon Meyers

28m closed-captioning
·
11 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.7
90
people completed
Published 2 years ago
|
Updated 2 years ago

The “Edge” is where you write and store your code where your data is being produced. This allows for a quick and efficient data transfer, eliminating or severely reducing lag.

Supabase is a suite of open-source tools wrapping a PostgreSQL database. It provides the building blocks of an app - database hosting, auth, file storage, real-time, and edge functions - so we can focus on what makes our app unique.

Cloudflare Workers are serverless functions that run at the Edge! In this course, we will use the Wrangler CLI tool for interfacing with your Cloudflare account and creating or publishing your Workers.

KV Storage is a cache that Cloudflare makes available to our Workers. It replicates across multiple CDN nodes, making it super performant to cache data.

Combined, these three things give you the benefits of that reduced lag in a smooth and streamlined process.

Throughout this course, Jon will teach you how to create a small blog that hits the key points of how to:

  • Query Supabase from Cloudflare Workers
  • Read and write KV Storage cache from Cloudflare Worker
  • Cache Supabase response at the Edge with KV storage

And more!

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

Course Content

28m • 11 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers
    Kristian Freeman ・47m・Course

    Follow along with Kristian Freeman as you build a localization engine that renders data based on the Edge location nearest to the application's user.

    illustration for Build Data-Driven Applications on the Edge with Workers and Workers KV
    Kristian Freeman • 33m • Course

    Learn how to read and write data that's stored on Cloudflare's global cloud network with Workers KV.

    illustration for Build a SaaS product with Next.js, Supabase and Stripe
    Jon Meyers • 1h 10m • Course

    You'll build a static app with authentication that is backed by a database, change the structure of that database without compromising data, and take payments for subscriptions.