Title: Javascript compression is not detected
Last modified: April 26, 2020

---

# Javascript compression is not detected

 *  Resolved [kaplan.dani](https://wordpress.org/support/users/kaplandani/)
 * (@kaplandani)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-compression-is-not-detected/)
 * I’ve set up nginx (front web server) and also apache .htacess to enable gzip 
   compression of javascript files as instructed.
 * Still your plugin says gzip is working only on html and css.
 * What am I missing ?
    thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-compression-is-not-detected%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-compression-is-not-detected/#post-12735318)
 * Hi [@kaplandani](https://wordpress.org/support/users/kaplandani/),
 * If you have Nginx front, you will need to manually apply the Nginx rules for 
   the assets, not the Apache ones.
 * Best regards,
    Anton
 *  Thread Starter [kaplan.dani](https://wordpress.org/support/users/kaplandani/)
 * (@kaplandani)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-compression-is-not-detected/#post-12735965)
 * I’ve tried the nginx rules as well, same result.
    actually now – both in effect.
 *  [Anton Vanyukov](https://wordpress.org/support/users/vanyukov/)
 * (@vanyukov)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-compression-is-not-detected/#post-12740814)
 * [@kaplandani](https://wordpress.org/support/users/kaplandani/),
 * I’m not seeing that it’s enabled for assets. Have you tried reloading Nginx after
   applying the rules?
 * Best regards,
    Anton
 *  Plugin Support [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * (@wpmudev-support6)
 * [6 years ago](https://wordpress.org/support/topic/javascript-compression-is-not-detected/#post-12847839)
 * Hello [@kaplandani](https://wordpress.org/support/users/kaplandani/)
 * I’m marking this topic as resolved due to recent inactivity.
    Feel free to post
   back any updates and we’ll carry on troubleshooting.
 * Take care,
    Dimitris

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

The topic ‘Javascript compression is not detected’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

## Tags

 * [gzip](https://wordpress.org/support/topic-tag/gzip/)

 * 4 replies
 * 3 participants
 * Last reply from: [Dimitris – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support6/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/javascript-compression-is-not-detected/#post-12847839)
 * Status: resolved