# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0
# Set up caching on media files for 1 year (forever?)
<FilesMatch ".(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|js)$">
ExpiresDefault A29030400
</FilesMatch>
# Set up 1 Month caching on commonly updated files
<FilesMatch ".(xml|txt|html|css|jpeg|jpg|gif)$">
ExpiresDefault A2419200
</FilesMatch>
# Force no caching for dynamic files
<FilesMatch ".(php|cgi|tpl|htm)$">
ExpiresActive Off
</FilesMatch>