fixed cache headers and status response