As we have CPU restrictions on the server. And what about PHP's readfile function?
Nope, it has nothing to do with the CPU, there might be something with your internet speed, the server response time and its speed.
No; calling header simply outputs an HTTP header to the browser.
header