-
Notifications
You must be signed in to change notification settings - Fork 0
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
Double-checking caching keys for DiskLru cache #19
Labels
enhancement
New feature or request
Comments
OkHttp with 120 symbol cache: fun key(url: HttpUrl): String = url.toString().encodeUtf8().md5().hex() |
motorro
added a commit
that referenced
this issue
Feb 13, 2020
motorro
added a commit
that referenced
this issue
Feb 13, 2020
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DiskLru cache uses 120-symbol (64 in a released 2.0.2)
a-zA-Z0-9-_
cache keys which may not be enough for some scenarios. One may hash original parameters but clashing takes place in that case. Need some double-check of caching parameters when reading to avoid returning wrong dataThe text was updated successfully, but these errors were encountered: