Make sure local cache cleared even it's throwing:
#28373

godfat wants to merge godfat:fix-cache-middleware-with-throw into rails:master

We do not currently have an analysis of these two commits