Make sure local cache cleared even it's throwing: #28373
godfat wants to merge
godfat:fix-cache-middleware-with-throw
into rails:master
godfat:fix-cache-middleware-with-throw
into rails:master