Smart Content Delivery Network
Automatically revalidate assets at the edge via the Smart CDN.
Supabase's Smart CDN automatically synchronizes asset metadata to the edge, ensuring content is quickly delivered and remains up-to-date without manual intervention.
Key features
- Automatic cache revalidation: Invalidates CDN cache when assets are changed or deleted.
- Improved cache hit rate: Shields origin server from unchanged asset requests, even with different query strings.
- Long-term edge caching: Stores assets on the CDN for extended periods while maintaining freshness.
- Flexible browser caching: Control browser cache duration using the cacheControl option.
- Rapid propagation: Changes reflect across global data centers within 60 seconds.
- Cache bypass option: Use unique query strings to fetch directly from the origin when needed.
Benefits:
- Content freshness: Users always receive the most recent version of assets.
- Reduced origin load: Minimize requests to the origin server by optimizing edge caching.
- Improved user experience: Deliver fast-loading, up-to-date content globally.
- Cost optimization: Reduce egress costs by serving more content from the edge.
The Smart CDN feature is valuable for:
- Dynamic websites with frequently updated content
- E-commerce platforms with real-time inventory updates
- News and media sites delivering the latest information
- Applications with rapidly changing user-generated content
- Global platforms requiring both speed and content accuracy
Supabase's Smart CDN optimizes both performance and content accuracy, providing a superior user experience for applications with dynamic or frequently updated content, without the complexity of manual cache management.