When I checked my website's performance using Google Webmaster Tools' PageSpeed analyzer, it highlighted that none of my resources were being cached. Here is the code snippet from my .htaccess file sourced directly from H5BP. I'm wondering if the expiration settings are correctly configured as per the below or if I need to specify explicit expirations for each individual file instead of general rules?
# ----------------------------------------------------------------------
# Expires headers (for improved cache control)
# ----------------------------------------------------------------------
# These expire headers are set in the far future.
# They assume versioning happens with filename-based cache busting
# It's also important to note that old proxies might cache incorrectly
# If you do not use filenames for versioning, consider reducing CSS and JS expires to something like
# "access plus 1 week".
<IfModule mod_expires.c>
ExpiresActive on
# Consider whitelisting expires rules for better control
ExpiresDefault "access plus 1 month"
# cache.appcache requires re-requests in FF 3.6 (credits Remy ~Introducing HTML5)
ExpiresByType text/cache-manifest "access plus 0 seconds"
# Your main HTML document
ExpiresByType text/html "access plus 0 seconds"
# Data files
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType text/xml "access plus 0 seconds"
# Feeds
ExpiresByType application/atom+xml "access plus 1 hour"
ExpiresByType application/rss+xml "access plus 1 hour"
# Favicon (cannot change name)
ExpiresByType image/x-icon "access plus 1 week"
# Media: images, video, audio
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
# HTC files (css3pie)
ExpiresByType text/x-component "access plus 1 month"
# Webfonts
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
# CSS and JavaScript
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType text/css "access plus 1 year"
</IfModule>