is there a tldr somewhere on how to make mutations reflect latest state in Next.js
should i
- revalidatePage/revalidateTag in every server action
- or should i router.refresh next to their calls
- both?
i haven't tried cacheComponents yet so curious how to work with the existing model
) client-compatible mock library that works via in-memory storage (in the browser) or via fs (on the server).
just ignore the protocol and focus on ux while doing local dev, then switch
i'm running a Next.js app on Railway behind CF proxy.
i've never done backend in my life before. what do i need to know? i mean stuff like
- observability
- what to do if someone ddos's me
- deployment versioning
- cache hits, revalidation, whatever
any lessons i don't want to learn hard way?