httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbert de Jonge <m...@norbertdejonge.nl>
Subject [users@httpd] caching of HTML5 <video> (MP4)
Date Thu, 13 Jun 2019 18:40:41 GMT
Hi folks,

When I'm serving up many (huge) MP4 files via HTML5 <video>, and want
heavy caching to keep traffic down, is the following suitable
public_html/.htaccess content?

=====
<IfModule mod_expires.c>
<FilesMatch "\.(mp4)$">
ExpiresActive On
Header set Expires "Mon, 27 Mar 2038 13:33:37 GMT"
</FilesMatch>
</IfModule>
=====

Thanks!

Best regards,
Norbert


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message