Pass the original key to the async creator so we don't mangle it twice
Ryan Kolak
Branch: RyanK/dogpile.cache:master
RyanK/dogpile.cache:master
Branch: zzzeek/dogpile.cache:master
zzzeek/dogpile.cache:master
Merged
#10 · Created  · Last updated
Description
In it's current form, stale values will continue to be returned, and on every request the new value will be recomputed and stored under a new hashed key.
This fixes the issue by storing the unmangled key and passing that as the key to the async creator function.
In it's current form, stale values will continue to be returned, and on every request the new value will be recomputed and stored under a new hashed key.
This fixes the issue by storing the unmangled key and passing that as the key to the async creator function.