title: Expires headers do not work
body: <p>I tried a couple of approaches to get images and other resources to have an expiration date, but none seem to work accourding to <a href="http://www.webpagetest.org/" rel="noreferrer">http://www.webpagetest.org/</a></p>
  
  <p>I also installed W3 plugin, still the tool reports the images do not have expires headers set.</p>
  
  <p>I also included the following code in my htaccess:</p>
  
  <pre><code>&lt;IfModule mod_expires.c&gt;
  ExpiresActive On
  ExpiresDefault A300
  ExpiresByType application/x-javascript A3600
  ExpiresByType text/css A3600
  ExpiresByType image/gif A3600
  ExpiresByType image/png A3600
  ExpiresByType image/jpeg A3600
  ExpiresByType text/plain A300
  ExpiresByType application/x-shockwave-flash A3600
  ExpiresByType video/x-flv A3600
  ExpiresByType application/pdf A3600
  ExpiresByType text/html A300
  &lt;/IfModule&gt;
  # BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>This seems to be a common problem, and I have seen many questions about this, but couldn't find an answer.</p>
  
  <p>Is the problem in the testing tool or on my server? How can I find out?</p>