jgoon
jgoon
Explore posts from servers
TTCTheo's Typesafe Cult
Created by jgoon on 5/29/2023 in #questions
Server side caching with Next API
Since vercel uses aws lambda for route handling, doesn't this mean that the cache would only exist in the lifetime of the container? So after it the function times out, the cache would be cleared. Also, in the case that the function is run in parallel, the data would have to be recached. I'm realizing now, that I may have to add some state management after all. (correct me if im wrong)
4 replies