fixes for response headers in cached responses