Skip to content
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

feat(vercel): support bypassToken for on-demand static reganaration #1723

Merged
merged 7 commits into from
Oct 5, 2023

Conversation

hcmlopes
Copy link
Contributor

πŸ”— Linked issue

#1694

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme, or JSdoc annotations)
  • ✨ New feature (a non-breaking change that adds functionality)

πŸ“š Description

It adds support for "On-Demand Incremental Static Regeneration (ISR)" for the Vercel preset.
Resolves #1694

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@nuxt-studio
Copy link
Contributor

nuxt-studio bot commented Sep 13, 2023

βœ… Live Preview ready!

Name Edit Preview Latest Commit
nitro Edit on Studio β†—οΈŽ View Live Preview c9c4f7e

@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Merging #1723 (ccb0c7b) into main (3f07e05) will decrease coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1723      +/-   ##
==========================================
- Coverage   76.43%   76.33%   -0.10%     
==========================================
  Files          76       76              
  Lines        8007     8008       +1     
  Branches      809      806       -3     
==========================================
- Hits         6120     6113       -7     
- Misses       1885     1892       +7     
- Partials        2        3       +1     
Files Coverage Ξ”
src/presets/vercel.ts 92.61% <100.00%> (+0.02%) ⬆️

... and 2 files with indirect coverage changes

@pi0 pi0 changed the title feat(vercel-preset): adds on-demant ISR support feat(vercel): support on-demand static reganaration (isr) Sep 13, 2023
@hcmlopes
Copy link
Contributor Author

@pi0 sry to ping you but wanted to know what the next steps here would be.

One thing I do not know is how I would go about testing this in vercel. But happy to do it with some guidance.

Thank you for your time

@pi0 pi0 added this to the 2.7 milestone Sep 26, 2023
@pi0 pi0 changed the title feat(vercel): support on-demand static reganaration (isr) feat(vercel): support bypassToken for on-demand static reganaration Oct 5, 2023
@TangsWang
Copy link

I cannot understand how to use it. Who can help me? Thanks a lot!

@pi0
Copy link
Member

pi0 commented Oct 21, 2023

@TangsWang Have you tried steps in the docs ?

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.

[vercel] support on-demand Incremental Static Invalidation (ISR)
3 participants