feat(v7): stabilize route caching#13977
Conversation
✅ Deploy Preview for astro-docs-2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
|
yanthomasdev
left a comment
There was a problem hiding this comment.
Great work @ArmandPhilippot, I have only one small nit
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
|
I don't know if route caching is going to make v7, just in case you are spending too much time on this PR. I'll check with Matt to see if he's going to have time to work on it this week. |
|
@matthewp I'm looking at it at the moment |
|
Code PR: withastro/astro#17116 |
|
Preview deployment ✅ Deployment complete!
|
|
Thanks Matt, nice catch. 😅 Updated in 497f375. I also fixed the merge conflicts! |
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Description (required)
Updates docs to stabilize route caching. Kinda supersedes #13944
experimental-flags/route-cachingcontents toreferences/cache-provider.mdx(new),references/api-reference.mdx,guides/content-collections.mdx, andguides/caching.mdx(new)references/modules/astro-configto includememoryCache()Most of the content comes from
experimental-flags/route-caching. But I have tweaked/reworded some parts for better integration (ie. a more guide/reference style).Why a new
guides/caching.mdxpage vs a new section inguides/routing.mdx:guides/routing.mdxHappy to discuss about the new routes if we think something else might be better!
Related issues & labels (optional)
For Astro version:
7.0. See astro PR #17116