Great Video! For anyone coming across this tutorial now: there's actually a new "unstable_cache" function in the Next v14 which can be used to wrap the supabase call. You can also pass a cache tag as a second parameter in order to revalidate the cache later with revalidateTag.
Thanks for the video. By the way, there is a function called unstable_cache from nextjs. It seems not working on the supabase environment... could you make a video about this function??
Great Video! For anyone coming across this tutorial now: there's actually a new "unstable_cache" function in the Next v14 which can be used to wrap the supabase call. You can also pass a cache tag as a second parameter in order to revalidate the cache later with revalidateTag.
Thats unstable and my be deprecated in near future
Thanks. This tip has saved me quite a bit of time today. Keep up the good work!
Thank you so much ❤️
very good, thanks.hope more to come on supabase.
Hey, how to see the request that being made on the terminal like on the video?
Plz reply
found it already put this on the next.config.js file
```
logging: {
fetches: {
fullUrl: true
}
}
```
@@fajaralnito6785 thanks
this is only working for fetch, not Supabase calls@@fajaralnito6785
Thanks for the video. By the way, there is a function called unstable_cache from nextjs. It seems not working on the supabase environment... could you make a video about this function??
Another option is to just pass Cache-Control through your response header in your Route Handler
Thhhxx 🔥 , This is so helpful 👏🏻👏🏻
Very useful video!
great content 🙌 how can I add "single" to rest api request? I am using the same approach to cache but my request returns array. I only need one row.
.single()
🙏👍
Is this still a problem? because i never seemed to encounter it...???
Yes it is
Yes.