Don't cache locally if unless_exist was passed
#29083

eugeneius wants to merge eugeneius:local_cache_unless_exist into rails:master

We do not currently have an analysis of these two commits