title: Speed up website done correctly
body: <p>I want to speed up my website. I was wondering I've done it correctly syntax wise.</p>
  
  <pre><code>&lt;IfModule mod_expires.c&gt;
    Header unset Pragma
    FileETag None
    Header unset ETag
    ExpiresActive On
  
  ExpiresDefault "access plus 1 year" 
  
    ##### DYNAMIC PAGES
    &lt;FilesMatch "\\.(ast|php)$"&gt;
     ExpiresDefault A7200
      Header set Cache-Control "public, max-age=3600, must-revalidate"
    &lt;/FilesMatch&gt;
  
    ##### STATIC FILES
  &lt;FilesMatch "(?i)^.*\.(ico|png|gif|jpg)$"&gt;
  Header unset Last-Modified
  Header set Expires "Fri, 21 Dec 2012 00:00:00 GMT"
  Header set Cache-Control "public, no-transform"
  &lt;/FilesMatch&gt;
  
    &lt;FilesMatch "\\.(css|js|xml)$"&gt;
      Header set Cache-Control "public, max-age=604800, must-revalidate"
  &lt;/FilesMatch&gt;
  
  &lt;/IfModule&gt;
  </code></pre>