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

Add programatic cache save #37

Open
theKashey opened this issue May 24, 2021 · 0 comments
Open

Add programatic cache save #37

theKashey opened this issue May 24, 2021 · 0 comments

Comments

@theKashey
Copy link

A very useful project, so widely used. With one flawn - cache is stored only on the graceful project exit.

I was trying to speed up the load times of my dev server, the one I always ctrl+c in order to close, and after hooking into the cache internals found that cache was just missing. It was never dumped on the disk.

I've added one export to the package, letting myself store cache when I want to save it (after server start), and was able to utilize the power of caching for the first time.

Feature request

Expose saveCache API for applications with never-ending or self-controleld life cycles.

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

1 participant