How to revalidate pictures?
Unanswered
American Pipit posted this in #help-forum
American PipitOP
I have a
/profile
page, which can lead to /profile/edit
page. When the user finishes editing, he clicks a finish <Link>
which takes him back to /profile
. Now, using a server action, I upload the picture (file input) to supabase, however, after updating the picture on supabase, revalidating /profile
and redirecting to /profile
, nextjs shows the old picture still. When I reload, log out, log in etc. it stays the same. Even if I reset the server. However, after deleting .next/cache/images
, it only then refetches the pictures. What is the way to revalidate the <Image>
component?