#How to override router ( Link ) caching in Nextjs 13 ?

11 messages · Page 1 of 1 (latest)

compact siren
#

I was building an app that has search functionality, which filter by search,
The problem I’m facing is when I navigate to another route and back to the search page it shows the filtered data which I don’t want to see, I want to see the fresh data( the whole data without filter ). I tried to pass prefetch=false to the Link component but it aborts the fetching of other router pages. So how can I fix this issue using the Link component?

mental hullBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

digital grove
#

Back to the search page? Did you use the back button?

compact siren
#

I don't get what you are trying to say?

loud ironBOT
#

@compact siren

Crossposting and reposting the same question across different channels is not allowed

Crossposting (posting a question in a channel and send the question link to another channel) and reposting (posting the same question in several channels) are not allowed in this server. See the server rules in #welcome message for more information.

marble hound
#

I deleted the duplicate

#

Please don’t repost

digital grove
compact siren
compact siren
compact siren
#

can anyone help me with this?