htaccess Enable Caching with mod_headers - Apache 2.2

Apache 2.2 - Browser caching with mod_headers

########################
## EXPIRES CACHING ##
# 1 YEAR 29030400
# 1 MONTH 2592000
# 1 WEEK 604800
# 2 DAYS 172800
# 1 DAYS 86400
# 1 MIN  60
########################

Note! Be careful with caching!
Be careful when you enabling browser caching if you set the parameters too long on certain files, users might not be getting the fresh version of your website after updates.

# BEGIN Expire headers  
<ifModule mod_expires.c>  
    ExpiresActive On  
    ExpiresDefault "access plus 5 seconds"  
    ExpiresByType image/x-icon "access plus 29030400 seconds"  
    ExpiresByType image/jpeg "access plus 29030400 seconds"  
    ExpiresByType image/png "access plus 29030400 seconds"  
    ExpiresByType image/gif "access plus 29030400 seconds"  
    ExpiresByType image/svg+xml "access plus 29030400 seconds"
    ExpiresByType application/x-font-ttf "access plus 29030400 seconds"
    ExpiresByType application/x-font-truetype "access plus 29030400 seconds"
    ExpiresByType application/vnd.ms-fontobject "access plus 29030400 seconds"
    ExpiresByType application/x-shockwave-flash "access plus 29030400 seconds"  
    ExpiresByType text/css "access plus 86400 seconds"  
    ExpiresByType text/javascript "access plus 86400 seconds"  
    ExpiresByType application/javascript "access plus 86400 seconds"  
    ExpiresByType application/x-javascript "access plus 86400 seconds"  
    ExpiresByType text/html "access plus 3600 seconds"  
    ExpiresByType application/xhtml+xml "access plus 86400 seconds"  
</ifModule>  
# END Expire headers 

of

<ifModule mod_headers.c>
# WEEK
<filesMatch "\.(ico|gif|jpg|jpeg|png|flv|pdf)$">
  Header set Cache-Control "max-age=29030400"
</filesMatch>
# WEEK
<filesMatch "\.(js|css|swf)$">
  Header set Cache-Control "max-age=86400"
</filesMatch>
# 45 MIN
<filesMatch "\.(html|htm|txt|php)$">
  Header set Cache-Control "max-age=3600"
</filesMatch>
</ifModule>

Apache 2.2 Module mod_expires