Skip to content

Add a force-revalidate api route #3263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2025
Merged

Add a force-revalidate api route #3263

merged 1 commit into from
May 25, 2025

Conversation

conico974
Copy link
Contributor

Add an Api route that will use res.revalidate() to force bust the ISR/SSG and data cache on some route

Copy link

changeset-bot bot commented May 24, 2025

🦋 Changeset detected

Latest commit: 28fd823

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook-v2 Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

argos-ci bot commented May 24, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v1 (Inspect) ✅ No changes detected - May 24, 2025, 1:45 PM
customers-v2 (Inspect) 👍 Changes approved 80 changed May 24, 2025, 3:02 PM
default (Inspect) 👍 Changes approved 1 changed May 24, 2025, 1:48 PM
v2-cloudflare (Inspect) ✅ No changes detected - May 24, 2025, 1:50 PM
v2-vercel (Inspect) ✅ No changes detected - May 24, 2025, 1:51 PM

@conico974 conico974 requested a review from SamyPesse May 24, 2025 17:40
Copy link
Member

@SamyPesse SamyPesse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure how we'll use it as the actual ISR route is quite complex

@conico974 conico974 merged commit af66ff7 into main May 25, 2025
21 checks passed
@conico974 conico974 deleted the feat/force-revalidate branch May 25, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants