Skip to content

Add programatic cache save #37

@theKashey

Description

@theKashey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions