Right,
the initial original post was an example to complete:
Right, basically,
Add **ALL** the types your web server serves: (sounds...relevant
)
e.g. for example, add at the top of the .htaccess :
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
----etc---
Add too the expiration for
ALL the filetypes your website hosts:
ExpiresByType video/x-flv A2592000
ExpiresByType video/x-ogg A2592000
ExpiresByType video/x-mp4 A2592000
----etc---
Yes, you have to add too the extension to the ones already there:
e.g. for example:
<FilesMatch "\.(ico|css|js|jpe?g|png|gif|swf|flv|mp4|webm|ogv|gz|ttf)$">
i.e. INCLUDING FONTS files if you use fancy ones (big files used on EVERY page!)
don't forget this one:
<FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">
you want more? yes? Yes!, a long long list of file extensions?
here you are then
<FilesMatch "\.(css|js|htc|CSS|JS|HTC|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML|ico|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gz|gzip|jpg|jpeg|jpe|gif|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">