Caching all but 5xx responses