Support for cache components in payload #14460
Replies: 3 comments 3 replies
-
|
Big +1 from me. This would unlock Partial Prerendering(PPR) so a route can stay static and cached while only the small dynamic pieces can render dynamiclly. Right now a simple cookie read for a “Sign in / My Profile” button can force the whole page dynamic; with cacheComponents only that button becomes dynamic and the rest stays static. Net effect: faster pages, better cache hit rates, and less server work. Same pattern fits small islands like a cart count, wishlist, or notification bell. |
Beta Was this translation helpful? Give feedback.
-
|
+1. Cache components seem like a natural fit for an embedded CMS |
Beta Was this translation helpful? Give feedback.
-
|
@paulpopus We're very keen for this - given we spent considerable effort upgrading our whole site to use cache components, not realising Payload didn't support it 🤦🏼♂️ What are the chances this is likely to make it to the roadmap. Even if its not specifically implementing cache components throughout the backend, but getting a tick that says "cache components doesn't break payload". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently payload doesn't support cache components (prev. dynamicIO) from Nextjs (
cacheComponents)Upvote it here if you want this supported
Beta Was this translation helpful? Give feedback.
All reactions