Dynamic Rendering
Answered
Russian Blue posted this in #help-forum
Russian BlueOP
Does simply adding export const dynamic = "force-dynamic" in my server components make them render dynamically?
11 Replies
you could add it in
app/layout.tsx and make all page dynamicAnswer
Russian BlueOP
also works in all layout files as well correct? meaning if I want to group dynamically rendered routes
Russian BlueOP
Thank you for your time!
Is it ideal to make my page dynamically render and at the same time add caching to it?
Russian BlueOP
I mean, is it fine to do that? Or caching only applies for Statically rendered pages
yes you could have dynamic page with data cache
Russian BlueOP
Awesome, thanks