title: Does Apache 2 gzip json output by default?
body: <p>I'm using this PHP code for json output. Does apache gzip it by default? Or, how can I check to make sure?</p>
  
  <pre><code>header('Content-type: application/json');
  header('Cache-Control: max-age=0,no-cache,no-store,post-check=0,pre-check=0');
  header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
  echo json_encode($response);
  </code></pre>