title: adding ExpiresDefault to .htaccess file
body: <p>I have updated my .htaccess file to include the following:</p>
  
  <pre><code>&lt;FilesMatch "\.(css|js)$"&gt;
  ExpiresDefault "access plus 1 month"
  &lt;/FilesMatch&gt;
  </code></pre>
  
  <p>I am trying to tell the client that all css and js wont change for 1 month so they can cache they files. </p>
  
  <p>I have 2 questions,</p>
  
  <ol>
  <li>Is this going to achieve what I want</li>
  <li><p>Since adding that I am now getting a 500 error, the whole .htaccess file is below:</p>
  
  <p><pre><code>
  <code>&lt;FilesMatch "*\.(css|js)$"&gt;
  ExpiresDefault "access plus 1 month"
  &lt;/FilesMatch&gt;</code>
  <code># BEGIN Compression (DEFLATE)</code>
  <code>&lt;IfModule mod_deflate.c&gt;</code>
  <code># Enable compression</code>
  <code>AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript text/html ``text/plain text/xml image/x-icon</code>
  <code>&lt;IfModule mod_setenvif.c&gt;</code>
  <code>BrowserMatch ^Mozilla/4 gzip-only-text/html</code>
  <code>BrowserMatch ^Mozilla/4\.0[678] no-gzip</code>
  <code>BrowserMatch \bMSIE !no-gzip !gzip-only-text/html</code>
  <code>BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html</code>
  <code>&lt;/IfModule&gt;</code>
  <code>&lt;IfModule mod_headers.c&gt;</code>
  <code># Make sure proxies deliver correct content</code>
  <code>Header append Vary User-Agent env=!dont-vary</code>
  <code># Ensure proxies deliver compressed content correctly</code>
  <code>Header append Vary Accept-Encoding</code>
  <code>&lt;/IfModule&gt;</code>
  <code>&lt;/IfModule&gt;</code>
  <code># END Compression (DEFLATE)</code></p></li>
  </ol>
  
  <p></code></pre></p>