#dynamic cache with dynamic revalidation time #cache

14 messages · Page 1 of 1 (latest)

stable topaz
#

Hi guys.
I have an interesting task,
Sometimes an endpoint can send something in a request (cache revalidation is needed after a week, of course with a number - example).
I need to give this revalidation, this number, to the revalidation of this request, is it possible to have Dynamic revalidation? If this dynamic is not available, to take the standard that I will put

desert solarBOT
#

🔎 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)

gloomy junco
#

I don't understand ur question

#

is ur issue that when it revalidates

#

u want to cache the request?

stable topaz
gloomy junco
#

ooh u rewrote

#

so ur question is u want to pass when u want ur data to be revalidated

gloomy junco
#

just use revalidate = 0

#

or dynamic = "force-dynamic"

#

ur data would be dynamic

stable topaz
gloomy junco
#

I'm sorry I don't mean to insult u but ur English is not clear that's why I don't understand :/