don't cache error responses in php

because apparently I didn't do this months ago like I thought