Cloudflare doesn't cache NextJS Apps properly
Unanswered
Chalcid wasp posted this in #help-forum
Chalcid waspOP
I use Cloudflare and I want to cache all NextJS app router routes but I have an issue by caching _rsc files. If I cache them, I get the same issue: https://github.com/vercel/next.js/discussions/59167. Any idea?
4 Replies
the only solution I can see here is to not use the
Link
component. Instead replaced it with a normal a
-tag. Like that the browser will be redirected normally and no rsc will be requested@Chalcid wasp solved?
Chalcid waspOP
I want to use Link in order to prefetch the routes
so this is not a solution