SSR does work ONLY when u manually/hard refresh the page and not when u navigating back and forward with Link component from next/link...(with Link component - entering the (page / path / segment) first time will SSR, but reentering the same page/path SSR doesnt work anymore) This hurts me so much. How do we solve this?
PS. To activate the SSR I have tested all variants.
On segment (layout / page) level:
- export const dynamic = 'force-dynamic'
- export const revalidate = 0
- export const fetchCache = 'force-no-store'
on .fetch() options level:
- {cache: 'no-store'}
- {next: {revalidate: 0}}
- { cache: 'no-store', next: {revalidate: 0} }
So whats the problem? SSR should fetch against DB EACH time path changes to render the page with new content. Or am i wrong?