Delete cache entries on both 404 and 410 responses.

Maybe move it to class level then, like we have in other places?