title: How to set cache expiration for index.html
body: <p>This is a section on my <code>.htaccess</code> file that I stole from the internet and tweaked a bit</p>
  
  <pre><code>&lt;ifModule mod_headers.c&gt;
    Header set Connection keep-alive
    &lt;filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$"&gt;
      Header set Cache-Control "max-age=2592000, public"
    &lt;/filesMatch&gt;
    &lt;filesMatch "\\.(css)$"&gt;
      Header set Cache-Control "max-age=604800, public"
    &lt;/filesMatch&gt;
    &lt;filesMatch "\\.(js)$"&gt;
      Header set Cache-Control "max-age=604800, private"
    &lt;/filesMatch&gt;
    &lt;filesMatch "\\.(xml|txt)$"&gt;
      Header set Cache-Control "max-age=86400, public, must-revalidate"
    &lt;/filesMatch&gt;
    &lt;filesMatch "\\.(html|htm|php)$"&gt;
      Header set Cache-Control "max-age=86400, private, must-revalidate"
    &lt;/filesMatch&gt;
  &lt;/ifModule&gt;
  </code></pre>
  
  <p>I am using this on my statik blog. I want to treat <code>index.html</code> file differently and set max-age to 3600. But I don't know how exactly <code>.htaccess</code> files work. </p>