-
Notifications
You must be signed in to change notification settings - Fork 23
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
Put your HTTP cache into a subdirectory, Thanks. #93
Comments
Hi @valeriyo, These files are created by OkHttp. Other than Thanks, |
Please keep your own cache to yourself, and configure its limit to whatever you think is reasonable. There is absolutely no benefit for sharing launchdarkly cache with the rest of the application, only possible conflicts and issues. In fact, you configure it to:
and that's fine, as long as the cache is located in a subdirectory:
Thank you very much. |
I've filled this issue in our internal issue tracker (ch63444) so we can schedule time to address it. Thanks, |
Thank you |
The fix for this is out in the 2.12.0 release. Thanks for your suggestion, |
Describe the bug
When I look in the /data/data/my.app.id/cache directory - there is a bunch of files along with "journal" -- which refer to launchdarkly services (e.g. https://app.launchdarkly.com/msdk/...). Most applications use this "cache" directory for many things, and an SDK shouldn't crap all over it.
To reproduce
Just run an app with the launchdarkly SDK, then look inside the /data/data/my.app.id/cache directory with Android Studio's Device File Explorer.
Expected behavior
The HTTP cache that launchdarkly creates should go into a subdirectory, named appropriately, to avoid name conflicts.. For example: "com.launchdarkly.http_cache"
SDK version
2.9.1
The text was updated successfully, but these errors were encountered: