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 compression option for non-memory caches #71

Closed
coolbutuseless opened this issue Oct 2, 2018 · 0 comments
Closed

Add compression option for non-memory caches #71

coolbutuseless opened this issue Oct 2, 2018 · 0 comments

Comments

@coolbutuseless
Copy link
Contributor

Would it be possible to add a compression option for non-memory caches?

cache_filesystem, cache_gcs and cache_rds all use saveRDS() to serialise the object to disk, and the latter two then transfer over the network.

It would help if the user could tradeoff some CPU - by compressing the saved object - and hopefully get faster network transfers (and also stay within any cloud service size quotas).

I've submitted a PR with a proposed change to do this: #70

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