#How to invalidate stale data (ISR, getStaticProps, getStaticPaths)

2 messages · Page 1 of 1 (latest)

onyx river
#

We are using (On Demand Generation) getStaticPaths and getStaticProps (ISR, with an revalidate endpoint)

We have blog posts, we static render these blog posts, blogs have slugs.

When a slug changes, the old path needs to get purged, but we're not sure how to do this as it's already getStaticPaths / cached.

#

How to invalidate stale data (ISR, getStaticProps, getStaticPaths)