Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't cache locally if unless_exist was passed #29083
Some cache backends support the
Since we can't tell which value will end up in the backend cache, we should delete the key from the local cache, so that the next read for that key will go to the backend and pick up the correct value.
The DalliStore backend hacked around this problem in petergoldstein/dalli#365.