Repository navigation
Conversation
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Preview deployment ✅ Deployment complete!
|
ArmandPhilippot
left a comment
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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.
| 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: |
Description (required)
From withastro/astro#18808, clarifies how
excludeworks with the ISR cache