title: Apache/PHP behind Nginx Reverse Proxy slower than expected
body: <p>I'm not certain what I'm missing, or overlooking.  Or maybe I'm just not thinking about something correctly.</p>
  
  <p>I am testing Apache/PHP behind an Nginx reverse proxy, (Nginx is performing GZIP, KeepAlive, and SSL).</p>
  
  <p>Testing using Apache Bench from another server within the same local network can perform 500 connections (100 concurrent) in 0.349 seconds.  However, when I connect using a browser, the timeline for the page load shows 2 seconds of waiting for a server response.</p>
  
  <p>The only thing I can think is that the proxy for the network is playing a role (the server is outside the proxy, so requests from my browser pass through the proxy).  I'm getting 'Vary-Accept' header responses for encoding, which makes me think that might be the issue.  When I use WBOX from my computer, however, it returns 2-30ms response times.</p>
  
  <p>Any thoughts?</p>