Title: text/javascript not compressed with mod_deflate
Last modified: August 24, 2016

---

# text/javascript not compressed with mod_deflate

 *  Resolved [gacek](https://wordpress.org/support/users/gacek/)
 * (@gacek)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/textjavascript-not-compressed-with-mod_deflate/)
 * Hi,
 * inc/admin.php does not generate rule AddOutputFilterByType for text/javascript
   in .htaccess
 * .js files are not compressed
 * [https://wordpress.org/plugins/wp-fastest-cache/](https://wordpress.org/plugins/wp-fastest-cache/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/textjavascript-not-compressed-with-mod_deflate/#post-5995788)
 * You need to contact to your hosting provider.
 *  Thread Starter [gacek](https://wordpress.org/support/users/gacek/)
 * (@gacek)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/textjavascript-not-compressed-with-mod_deflate/#post-5995790)
 * Well, I am a hosting provider.
    From fresh 0.8.4.8 version: inc/admin.php , funcion
   insertLBCRule(): … ExpiresByType text/javascript A2592000 ExpiresByType application/
   javascript A2592000
 * This is ok, but:
    function insertGzipRule() .. AddOutputFilterByType DEFLATE 
   application/javascript
 * There is no line for text/javascript mimetype
    mod_deflate does not compress .
   js
 * Over and Out
 * regards,
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/textjavascript-not-compressed-with-mod_deflate/#post-5995792)
 * ok, Can you enable gzip for js with another rule please?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘text/javascript not compressed with mod_deflate’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/textjavascript-not-compressed-with-mod_deflate/#post-5995792)
 * Status: resolved