Home / Companies / Netlify / Blog / Post Details
Content Deep Dive

Cache-tags & Purge API on Netlify

Blog post from Netlify

Post Details
Company
Date Published
Author
Paulo Araújo
Word Count
626
Language
English
Hacker News Points
1
Summary

Netlify has released two new features that will give users even more control over their cached content: fine-grained cache control, which provides better control over caching and revalidation behavior for dynamic content across Netlifty Edge, and Cache-tags, a way to label cached content so it can be purged more granularly. The Cache-tags feature allows users to associate an object or collection of cached objects with a tag that can be purged simultaneously across all of Netlify's Edge, without the need for a new deploy. This feature works by using the `Cache-Tag` and `Netlify-Cache-Tag` response headers, which allow users to control which content is cached and when it should be purged.