Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Clarify that Vercel isr.exclude only bypasses the ISR cache - #15092

Open
matthewp wants to merge 1 commit into
mainfrom
vercel-isr-exclude-docs
Open

matthewp wants to merge 1 commit into
mainfrom
vercel-isr-exclude-docs

Conversation

@matthewp

@matthewp matthewp commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Description (required)

From withastro/astro#18808, clarifies how exclude works with the ISR cache

@astrobot-houston

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the tracking.ignoredKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
guides/integrations-guide/vercel.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Preview deployment

✅ Deployment complete!

@ArmandPhilippot ArmandPhilippot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, LGTM! I've left an optional suggestion. Feel free to discard it if you think this is clearer your way!

##### Excluding paths from ISR caching

Use the `exclude` option to prevent specific routes from being cached by ISR. These paths will always be rendered fresh on each request:
Use the `exclude` option to prevent specific routes from being cached by ISR. These paths bypass ISR and are rendered on each request, unless their own cache directives (e.g. `Cache-Control` headers) tell Vercel's CDN to cache them:

@ArmandPhilippot ArmandPhilippot Dec 2, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: I feel like "bypass ISR" is redundant with the first sentence (and so, we could shorten the second one). But, if you think this is helpful, I don't mind it; I'm just flagging it.

Suggested change
Use the `exclude` option to prevent specific routes from being cached by ISR. These paths bypass ISR and are rendered on each request, unless their own cache directives (e.g. `Cache-Control` headers) tell Vercel's CDN to cache them:
Use the `exclude` option to prevent specific routes from being cached by ISR. These paths are rendered on each request, unless their own cache directives (e.g. `Cache-Control` headers) tell Vercel's CDN to cache them:

This branch has not been deployed

No deployments
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.

3 participants