Replies: 1 comment 5 replies
-
I believe the recommendation is to not cache HTML pages that contain user-specific content. Just cache the loaders. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to cache my page in the CDN by cache-control. but the page contains something that dynamic based on user info.
Let's say the green part is static, every user visit the page will be the same. and the yellow part is dynamic, this part content is base on user's info.
I am thinking about do it this way.
But I'm thing about the waterfall issue. like if I do it like old ways (fetch in useEffect stuff). is there better way to do this?
Can I use react-router data fetching pattern in a Remix application? like fetching it at client-side, but not after render.
Beta Was this translation helpful? Give feedback.
All reactions