2010-06-09, 06:40 PM
MyBB provides an htaccess.txt file that included a section for gzip comrpession
I have noticed that on my server, MyBB javascript is not being compressed during delivery.
I have expanded the above section to
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.
<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.