Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-cache is automatically empty on node js vercel deployment #311

Open
prakashn91 opened this issue Jul 13, 2023 · 2 comments
Open

node-cache is automatically empty on node js vercel deployment #311

prakashn91 opened this issue Jul 13, 2023 · 2 comments

Comments

@prakashn91
Copy link

prakashn91 commented Jul 13, 2023

Hi Guys, @smrchy @heryandi i just migrate my one-service digital ocean to Vercel,but unfortunately, my cache data is lost after some time automatically
and on digital ocean it cache works fine

Please help me if anyone face same kind of issue

@doc-han
Copy link

doc-han commented Aug 7, 2023

Seems like a cold restart from vercel

@erickythierry
Copy link

Hi Guys, @smrchy @heryandi i just migrate my one-service digital ocean to Vercel,but unfortunately, my cache data is lost after some time automatically and on digital ocean it cache works fine

Please help me if anyone face same kind of issue

Vercel does not keep the application running all the time, while at digital ocean the server is on 24 hours a day.
in vercel your application "sleeps" and loses all the "context" that is stored in memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants