MyBB Community Forums

Full Version: gzip MIME type edits in SEO htaccess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB provides an htaccess.txt file that included a section for gzip comrpession

<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
</IfModule>

I have noticed that on my server, MyBB javascript is not being compressed during delivery.

I have expanded the above section to

<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/css text/html text/xml
</IfModule>

and various webmaster tools are now no longer telling to gzip the .js files. One could go further and add text/javascript as well since that seems to be a somewhat accepted MIME response too.
Good fix
thanks, logged http://dev.mybboard.net/issues/998 for it.