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
91
people completed
Published 3 years ago
|
Updated 3 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.

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Great tutorial, Thank you so much for the hard work.

    Jay
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Exciting opportunities to implement these services quickly and easily! Thank you very much, Jon, for the clear and concise explanation!

    Danilo Mérida
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Excellent documentation along with the videos

    Sean
    3 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    everything was great,

    even learned some VS Code trick at the end where you duplicated a line https://stackoverflow.com/a/30207023/5198805

    cschar
    3 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    The amount of ground covered and also that the content was very interesting

    Efrén Carbajal
    3 years ago

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.