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

Cache subsets #30

Open
danibishop opened this issue Jan 28, 2019 · 1 comment
Open

Cache subsets #30

danibishop opened this issue Jan 28, 2019 · 1 comment
Assignees

Comments

@danibishop
Copy link

It might be interesting to model a way to invalidate sub-sets of the cache instead of having to clear all o nothing.

Pablo Caro has this model as of today (28.1.2019) in Merlin but it is not used.

Example

For the RamCache it could work using the root dictionary as "set container", where sets have keys like 0, 1, 2... and are assigned somehow when querying. (Maybe we could use path urls as keys?) Then, a .flush(key) could be sent to delete only that subset.

@danibishop danibishop self-assigned this Jan 28, 2019
@josemazo
Copy link
Contributor

It's an interesting feature, but even @pcaro is using it. We could mark it as a "possible future".

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

No branches or pull requests

2 participants