We now display PlanetScale system status directly in your dashboard
Jul 19, 2022Mike Coutermarsh

Summary
This post details the implementation of displaying PlanetScale system status directly in the dashboard. It describes using Vercel Edge Functions to proxy and cache the status page API, achieving ~30ms response times. The edge function code is provided, along with the `cache-control` header configuration for optimal caching. A React component using `useSWR` to fetch and display incident data from the edge function is also included.