Glide Options api mutates cache keys when passing a false option
Open
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
Glide Options api mutates cache keys when passing a false option, which can be expected behavior. One might expect a "false" option is the same as a null option. This could result in unexpected cache misses, causing black flashes if one Glide request has option(false) and the other doesn't have the option set.
Contributor guide
Research direction
Start by tracing how Glide Options values are incorporated into cache keys; the issue does not name a file or test. Reproduce requests using option(false) and with the option unset, then verify that equivalent requests produce the same cache key and avoid unexpected cache misses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100