I'm trying to set up mod_mime for javascript. My webserver returns this content-type for js files:
Content-Type:application/x-javascript; charset=utf-8
so obviously the directive
ExpiresByType application/x-javascript "access plus 1 year"
specified in .htaccess
doesn't work.
So, any ideas how to specify mime type in such case?
PS: the same (adding of ; charset=utf-8
) happens also with .css
, but all the binary types (images) work fine.