Next.js Discord

Discord Forum

Caching entire parallel route

Unanswered
Netherland Dwarf posted this in #help-forum
Open in Discord
Avatar
Netherland DwarfOP
Hey! Quick question, I have a page called /messages which shows all of the messages for a specific profile. When the user clicks a message it shows more details about the message, my issue is. I want to have the page split up in two panes, the first page is going to be the parallel route of the messages, the original design seen in /messages, but I will just blur it making the design look nice, and the second page is just the design for showing the details about the message.
Is there anyway for me to cache the entire parallel route when its rendered on the /messages page so I don't have to refetch all of the conversations again AND is it possible for me only load the parallel route on PC so mobile screens can load a little faster?

0 Replies