title: How to compress html pages using SetOutputFilter DEFLATE
body: <p>I am not able to get compressed html pages in my browser even though I am 100% sure mod_deflate is activated on my server.</p>
  
  <p>My htaccess file has this code snippet :</p>
  
  <pre><code>&lt;IfModule mod_deflate.c&gt;
     &lt;Files *.html&gt;
     SetOutputFilter DEFLATE
     &lt;/Files&gt;
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>A non compressed excerpt of my content is:</p>
  
  <pre><code>&lt;div&gt;
     &lt;div&gt;
     Content
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>With the htaccess code I am using, I would expect to get the output below in my browser (no space and no tabs at the beginning of each line):</p>
  
  <pre><code>&lt;div&gt;
  &lt;div&gt;
  Content
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is there something wrong with the code I am using in the htaccess file?</p>
  
  <p>Is keeping all tabs in front of each html line after compression the normal behavior of mod_deflate? 
  If so, would you recommend that I switch tabs with spaces in my html code to get the desired effect?</p>
  
  <p>Thanks for your insights on this</p>