The new Netlify Cache API is a great addition to the best-in-class caching primitives available on @netlify.com.
Let me tell you what it is, what it's for, and how it embodies our vision of a framework-agnostic platform built on (and for) the open web. ๐งต
Let me tell you what it is, what it's for, and how it embodies our vision of a framework-agnostic platform built on (and for) the open web. ๐งต
Reposted from
Netlify
Netlify's caching primitives just got more powerful!
The new Cache API lets you cache individual network calls triggered by your Netlify Functions and Edge Functions, reducing latency and improving resiliency.
Built on web standards for maximum flexibility.
Available now on all plans in beta.
The new Cache API lets you cache individual network calls triggered by your Netlify Functions and Edge Functions, reducing latency and improving resiliency.
Built on web standards for maximum flexibility.
Available now on all plans in beta.
Comments
When a new request comes in, we serve it from the cache and bypass the invocation entirely.
So even when you can't serve the entire route from the cache (a cache miss), you'd benefit from caching the individual HTTP calls.
Also, you have full control over how long resources are cached for and how they get invalidated.
You can use it with any framework โ or without one.
It's optional and even works with other providers.
๐ Documentation: https://docs.netlify.com/platform/cache-api/
๐ช Demo: https://cache-api-demo.netlify.app/
๐ฃ Announcement: https://www.netlify.com/blog/introducing-netlify-cache-api/