title: Client-side caching of static files not working (Apache)
body: <p>I'm trying to use <code>mod_expires</code> and <code>mod_headers</code> to enable browser caching for my site. I have this in my VirtualHost:</p>
  
  <pre><code>    &lt;FilesMatch ".(gif|jpg|jpeg|png|ico|swf|js|css|pdf)$"&gt;
          ExpiresActive On
          ExpiresDefault "access plus 1 week"
          Header set Cache-Control "public"
          Header unset Last-Modified
      &lt;/FilesMatch&gt;
  </code></pre>
  
  <p>The <code>Expires</code> and <code>Cache-Control</code> headers are set correctly in my responses:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Date: Tue, 28 Jun 2016 16:09:26 GMT
  Server: Apache/2.4.7 (Ubuntu)
  ETag: "8f44-526a1625962b5-gzip"
  Accept-Ranges: bytes
  Vary: Accept-Encoding
  Content-Encoding: gzip
  Cache-Control: public
  Expires: Tue, 05 Jul 2016 16:09:26 GMT
  Content-Length: 8504
  Keep-Alive: timeout=5, max=99
  Connection: Keep-Alive
  Content-Type: application/javascript
  </code></pre>
  
  <p>Unfortunately, my browser (Chrome) is still requesting all these static files every time I load <a href="http://delfsail.ookmijnbedrijf.nl" rel="nofollow noreferrer">my page</a>. I see these requests in my <code>access.log</code> and browser console. What am I doing wrong?</p>
  
  <p><strong>EDIT:</strong>
  I do have caching enabled in the developer toolbar:</p>
  
  <p><a href="https://i.stack.imgur.com/SEdrN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SEdrN.png" alt="enter image description here"></a></p>