Ok putting revalidate: 3600 on the createSession call should fix it I think. Means that the session token will be always less than an hour old. However, seems a little wasteful since I only want to revalidate when the other one needs revalidating
Next 13 people - how can I group multiple fetch caches together. I need to fetch the session token before fetching posts - how do I make sure it doesn’t use a stale token without completely getting rid of the cache
My understanding is that the getPosts call is run at build time. So actually revalidating the token all the time is a waste of time
1Could I wrap both calls in a cache perhaps? Struggling to find other people talking about this issue
1Next 13 people - how can I group multiple fetch caches together. I need to fetch the session token before fetching posts - how do I make sure it doesn’t use a stale token without completely getting rid of the cache
1 1 1concept: an idea that david hasn’t already come up with
concept: clock, but it counts down to the end of unix time
Has anyone actually noticed the fact that you can swipe to dismiss the post composer (on ios) until you start typing, after which you can’t
1 7hnnnnng chonky space dorito
it’s me im civs. we should’ve built the venturestar
I’ll add this to graysky once the infrastructure for multi-account is in place :)
official app pr I’m considering - long press profile tab to switch accounts
>code review
>obj?.[0]!.prop!
>consider other careers
based?.[0]?.()
funniest part of js is the fact that people on stackoverflow CANNOT agree on the best way to make an array of a given length
4 15reminder that Ronald Reagan's pronouns are she/her and there's NOTHING the woke libs can do about it!!!!
you see this and you either reach enlightenment or you pick a different programming language
based?.[0]?.()
fascinated to see what the prison escape guy has to say for himself now he’s pled not guilty
1 2