Announcing Durable Caching
Netlify has introduced Durable Caching, a new cache primitive that allows persisting a response in a global object store and serving it as a static response for any cache miss from edge CDN servers. This feature enables On-Demand ISR without any front-end framework dependency, using only HTTP Cache headers. By adding the durable flag to the Netlify-CDN-Cache-Control header, users can instruct Netlify to persist the response in permanent storage and use it as the origin for cache misses until invalidated. Combined with the Stale While Revalidate directive, this enables fully persistent On-Demand ISR for any HTTP Response.
Company
Netlify
Date published
July 16, 2024
Author(s)
Matt Biilmann
Word count
270
Language
English
Hacker News points
None found.