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: enable ISR #1067

Closed
wants to merge 1 commit into from
Closed

feat: enable ISR #1067

wants to merge 1 commit into from

Conversation

ElianCodes
Copy link
Member

No description provided.

Copy link

vercel bot commented Apr 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
astro-build ✅ Ready (Inspect) Visit Preview Apr 12, 2024 2:51pm

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ElianCodes and the rest of your teammates on Graphite Graphite

@ElianCodes ElianCodes marked this pull request as ready for review April 12, 2024 14:51
@lilnasy
Copy link

lilnasy commented Apr 12, 2024

ISR cache wouldn't look at search params, so https://github.com/withastro/astro.build/blob/main/src/pages/integrations/%5B...page%5D.astro (as one example) wouldn't work out of the box.

@natemoo-re
Copy link
Member

@lilnasy in that case, what would you recommend using here? A cdn-cache-control header?

@lilnasy
Copy link

lilnasy commented Apr 12, 2024

Yeah, standard cache control would be my first attempt before vendor-specific ISR.

ISR gives you persistent and global cache. We could see if the header's ephemeral and per-region cache works for us first.

@ElianCodes ElianCodes closed this May 24, 2024
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.

None yet

3 participants