-
Notifications
You must be signed in to change notification settings - Fork 86
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
Storage compression #50
Comments
When I was using local storage directly and before I found angular-localforage I was using that compression. Worked very well, but there was a small slow down. It good 2.9 mb of data down to 0.16mb. So a huge difference! |
Wow that's huge, it could really be a good feature. You were using "pako" ? |
+1 for lzstring |
+1 |
Not much, I don't have a lot of free time for now, but if you want to try to do that and do a PR, feel free to do so :) |
Let's put this back in the queue for 1.4.0. |
+1 |
nothing new to report, but it is definitely on the road map. PRs welcome! |
Quick question for those who would want to use this functionality: what about making a custom |
Or maybe a separate compression decorator that just wraps the |
Here is an example decorator using http://plnkr.co/edit/r0tSMFNJwsbyUdLT35Or?p=preview Not cut-n-paste production ready, but is a good starting point for those wishing to do this. Maybe we can just document this pattern and be done with it? |
We should offer a plugin to enable storage compression (see this article and this lib for examples).
The text was updated successfully, but these errors were encountered: