title: htaccess caching not working
body: <p>I inputted the following into my ".htacces" file in order to start caching the Web Content. According to Google Page Speed and Yslow the pages are still not Cached. Are the modules wrong? Or is it that the apps are not showing the data correctly?</p>
  
  <p>Site is running on Apache 2.0 on Server</p>
  
  <p>.htaccess (part with caching modules):</p>
  
  <pre><code># Expire headers
  &lt;ifModule mod_expires.c&gt;
    ExpiresActive On
    ExpiresDefault "access plus 1 seconds"
    ExpiresByType image/x-icon "access plus 2592000 seconds"
    ExpiresByType image/jpeg "access plus 2592000 seconds"
    ExpiresByType image/png "access plus 2592000 seconds"
    ExpiresByType image/gif "access plus 2592000 seconds"
    ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
    ExpiresByType text/css "access plus 604800 seconds"
    ExpiresByType text/javascript "access plus 216000 seconds"
    ExpiresByType application/javascript "access plus 216000 seconds"
    ExpiresByType application/x-javascript "access plus 216000 seconds"
    ExpiresByType text/html "access plus 600 seconds"
    ExpiresByType application/xhtml+xml "access plus 600 seconds"
  &lt;/ifModule&gt;
   
  # Cache-Control Headers
  &lt;ifModule mod_headers.c&gt;
  #month
    &lt;filesMatch "\.(ico|jpe?g|png|gif|swf)$"&gt;
      Header set Cache-Control "max-age=2592000, public"
    &lt;/filesMatch&gt;
  #week
    &lt;filesMatch "\.(css|js)$"&gt;
      Header set Cache-Control "max-age=604800, public"
    &lt;/filesMatch&gt;
  #day
    &lt;filesMatch "\.(x?html?|php)$"&gt;
      Header set Cache-Control "max-age=43200, private, must-revalidate"
    &lt;/filesMatch&gt;
  &lt;/ifModule&gt;
  # END Cache-Control Headers
   
  # Turn ETags Off
  &lt;ifModule mod_headers.c&gt;
    Header unset ETag
  &lt;/ifModule&gt;
  FileETag None
   
  # Remove Last-Modified Header
  &lt;ifModule mod_headers.c&gt;
    Header unset Last-Modified
  &lt;/ifModule&gt;
  </code></pre>