It is equally possible to send HTTP headers by webserver or script. I use PHP on Nginx. Is there any different to send HTTP headers (such as Cache-Control) by nginx or PHP?
Is it faster to send headers by webserver? and does it have an effect on earlier processing the HTTP request?