Revalidating cache doesn't work after several navigations
Unanswered
Balinese posted this in #help-forum
BalineseOP
Hello,
I have a problem with the next cache on app directory, since i use Supabase, i can't modify the fetch requests to add headers for no caching and revalidating so i'm using the revalidate option.
For exemple on a page i display a user with this profile picture.
if i change the profile picture and when i'm navigating to an another page and returning to the profile page the picture appears changed (the good one) and if i'm repeating the operation i.e. reexchanging the picture, navigating and returning to the profile page the profile picture appears to the old one.
I have tried some various config with revalidating (0, 1, etc..) but no one solve my problem.
Does anyone have any ideas on how to solve this problem ?
I have a problem with the next cache on app directory, since i use Supabase, i can't modify the fetch requests to add headers for no caching and revalidating so i'm using the revalidate option.
For exemple on a page i display a user with this profile picture.
if i change the profile picture and when i'm navigating to an another page and returning to the profile page the picture appears changed (the good one) and if i'm repeating the operation i.e. reexchanging the picture, navigating and returning to the profile page the profile picture appears to the old one.
I have tried some various config with revalidating (0, 1, etc..) but no one solve my problem.
Does anyone have any ideas on how to solve this problem ?