Next.js Discord

Discord Forum

About app vs pages router

Unanswered
Tonkinese posted this in #help-forum
Open in Discord
TonkineseOP
Almost every new video on YT rn uses the app router instead of pages.
I was initially hesitant to switch to app because of some caching issues, but a lot of libraries rn (like clerk and supabase) have been favoring app over pages.

I'm just wondering, have the caching issues been fixed? It's the only thing holding me back anyway.

4 Replies

Well it hase been stable for a while, which caching issues are you referring to tho? (Like many have beed fixed or clarified...)
@riský Well it hase been stable for a while, which caching issues are you referring to tho? (Like many have beed fixed or clarified...)
TonkineseOP
https://github.com/vercel/next.js/issues/42991

(found it from this vid: https://www.youtube.com/watch?v=7BgzXp35ZuU )
haven't read the GH issue that thoroughly but a cursory read tells me it hasn't been fixed yet, but again, not too sure
yeah they are planing on fixing that (see [linked discussion](https://github.com/vercel/next.js/discussions/54075)), but you might indeed have to wait... but i would say that app dir is better than pages in many ways (even with this caching issue)
TonkineseOP
i see, thanks