Replies: 2 comments 1 reply
-
@better-salmon Any idea, would save me a lot ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ScreamZ hello! I'm currently working on this |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @better-salmon
No sure why we wait for the next Get to invalidate ?
I'm using upstash redis and as I'm paying for 20 cents for 100k commands , I'm wondering why i need to HMGET on every GET, Why just no call
directly in
revalidateTag
, as the cache will try to access data, it'll miss and this will be ok ?Atm we are spending a HMGET on every request to
get
, I'm currently hitting at 200k request per week for each HMGET, and the app is still in betaSo the get command is doing at least one
GET
and oneHMGET
which could be done in revalidateTag ? Using Redis and TTL key, this shouldn't be mandatory as key are cleaned automatically and you don't need to check for stale content in get, like you could do in other provider that doesn't handle auto-clean ?My connection is a pure copy of redis string implementation, but for serverless using upstash redis SDK.
Beta Was this translation helpful? Give feedback.
All reactions