#my cache issue

1 messages · Page 1 of 1 (latest)

lament sinew
peak quarryBOT
#

Hi @lament sinew. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

lament sinew
#

You can see I do a lot of fetching

peak quarryBOT
#

Sorry @lament sinew, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:

Perhaps try again in 15mins?

lament sinew
#

and this is for a news route

#

So really all the data fetches on the /news route should be deduped when going to the /news/[slug] route for each specific route

#

if I just have a revalidate of 10 seconds on my page.tsx or layout.tsx

#

every random point

#

the revalidate goes from 10 seconds to

#

30000000 seconds

#

(I checked the .next cache folder)

sturdy spoke
#

in that case this seems to some kind of weird bug

lament sinew
#

yeah So I wanted

#

my function wraped in that react cache

#

to be the thing that stores a cache

#

and all the other fetch requests are just normal

#

so I had a default-no-store at the page tsx

#

so that all fetch request requests wont store anything but the cache from react would