Wordpress LScache Plugin: ExpiresByType video/mp3
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello team, is it possible to add in the next update : ExpiresByType video/mp3 to htaccess. It is currently a pagespeed problem.. Thanks you and RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts|mp3) .php ? [E=cache-control:max-age=3600] sorry Expires header is something complete different as cache control header. Read this first and come back again to exactly specify what you need: https://devcenter.heroku.com/articles/increasing-application-performance-with-http-cache-headers ok thanks you. can this parameter be set with the litespeed cache plugin ? https://developers.google.com/speed/pagespeed/insights/?hl=fr&url=https%3A%2F%2Fwww.docteur-fitness.com%2Fcomment-lespacement-des-pieds-affecte-t-il-votre-squat see : Distribute static elements thanks to efficient caching rules 1 resource found A long cache life can speed up repeated visits to your page. Read more about the cache URL Cache of the TTL value Transfer size ?speaker/post-17137.mp3?cb=161?.mp3&_=1(www.docteur-fitness.com) First, check your .htaccess if you find an entry that starts with: Header set Cache-Control.. If yes, remove it and replace with: Header set Cache-Control max-age=31536000, public, no-transform Hi, RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts|mp3) .php ? [E=cache-control:max-age=3600] is your MP3 dynamically generated by PHP ? otherwise no point for this part You can simply copy paste the Expire directive and create one outside of LSCWP marker to make permanent. Best regards, sorry, I dont understand (Im a noob), I add : ExpiresByType audio/mp3 A31536000, my pagespeed alert doesnt gone https://developers.google.com/speed/pagespeed/insights/?hl=fr&url=https%3A%2F%2Fwww.docteur-fitness.com%2Fcomment-lespacement-des-pieds-affecte-t-il-votre-squat ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## ### marker BROWSER CACHE start ### ExpiresActive on ExpiresByType application/pdf A10368000 ExpiresByType image/x-icon A10368000 ExpiresByType image/vnd.microsoft.icon A10368000 ExpiresByType image/svg+xml A10368000 ExpiresByType image/jpg A10368000 ExpiresByType image/jpeg A10368000 ExpiresByType image/png A10368000 ExpiresByType image/gif A10368000 ExpiresByType image/webp A10368000 ExpiresByType video/ogg A10368000 ExpiresByType audio/ogg A10368000 ExpiresByType video/mp4 A10368000 ExpiresByType audio/mp3 A31536000 ExpiresByType video/webm A10368000Expand Hi, [root@centos-2gb-nbg1-1 ]# curl -I -XGET https://www.docteur-fitness.com/wp-content/uploads/speaker/post-17137.mp3?cb=1612470562.mp3&_=1 HTTP/1.1 200 OK Date: Sun, 07 Feb 2021 17:07:16 GMT Content-Type: audio/mpeg your file type is wrong Best regards, Thanks you very much ! have a great day
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference