惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 聂微东
Y
Y Combinator Blog
WordPress大学
WordPress大学
L
LangChain Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
A
About on SuperTechFans
小众软件
小众软件
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
Recent Announcements
Recent Announcements
GbyAI
GbyAI
I
InfoQ
The GitHub Blog
The GitHub Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
C
Check Point Blog
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
量子位
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog

Netlify Changelog

Gemini 3.5 Flash now available in Agent Runners 4 Nuxt CVEs: what Netlify users need to know Gemini 3.5 Flash now available in AI Gateway Agent Runners workflow improvements Next.js & React security release (May 2026): what to know Block project transfers out of your team Gemini 3.1 Flash-Lite now available in AI Gateway OpenAI GPT-5.5 Instant now available in AI Gateway New `netlify logs` CLI command Deploy to Netlify with Stripe Projects Netlify Database is now generally available OpenAI GPT-5.5 and GPT-5.5 Pro in AI Gateway & Agent Runners Rename an agent run GPT Image 2 now available in AI Gateway New frontend-design skill for Agent Runners Claude Opus 4.7 now available in AI Gateway and Agent Runners Pricing updates for Credit-based plans New sorting and filter controls on the Members page Netlify Database GA coming soon, no new databases for now Deploy logs streaming is now faster Netlify CLI adds prompt-based creation and anonymous deploys Deploy from Codex with the Netlify Plugin Hydrogen with React Router 7 now supported on Netlify Monitor credit usage by day Invoices for Enterprise Available on the Billing Page AI app development on production infrastructure with Netlify Introducing Prompt Templates OpenAI GPT-5.4 Nano and GPT-5.4 Mini in AI Gateway Change your pricing plan Internal Builder Role & Project Access Controls
Gain better insights into edge caching behavior on Netlify
Nahrin Jalal · 2024-04-08 · via Netlify Changelog

Over the last year, Netlify has made significant investment in making the caching features of the Netlify Edge even more powerful. These platform primitives unlock the ability to create dynamic digital experiences. Here’s what’s new:

  • We’ve added support for fine-grained cache control headers to precisely configure which content gets cached for how long and in which CDN provider.
  • Cache Tag support allows developers to selectively invalidate content to ensure a high cache hit rate for the overall site.
  • With the addition of Netlify-Vary, dynamic content can be cached selectively for different variations in request details like URL query, cookies or headers.

Netlify now provides a new HTTP response header, Cache-Status, to offer insights into the caching process. Detailed in RFC 9211, this header includes directives that explain a cache’s behavior in generating an HTTP response.

Here are some example values that you might see in this header, and what they mean:

  • Cache-Status: "Netlify Edge"; hit - Response was served from the edge cache directly
  • Cache-Status: "Netlify Edge"; fwd=miss - Response was served from an origin because there was no cached object for this request
  • Cache-Status: "Netlify Edge"; fwd=stale - Response was served from an origin because the object in the cache was stale (invalidated or expired)
  • Cache-Status: "Netlify Edge"; hit, fwd=stale - A stale response was served from the edge cache, but a background refresh was triggered (because of the stale-while-revalidate cache directive)

Using information from Cache Status with synthetic tests

The information provided in ‘Cache-Status’ can be helpful when running synthetic testing against your Netlify site. Your synthetic test can check if the ‘hit’ directive is present in the ‘Cache-Status’ header or export it as a metric. Grouping latency measurements by cache status provides better data than when latency measurements from cached and uncached responses are mixed.

Cache status usage with Real User Monitoring (RUM)

When using a configurable Real User Monitoring (RUM) service, you can record the cache status as metadata with your measurements which helps you differentiate latency and error rate for cached vs uncached responses to fetch calls in your frontend code.