Title: gzip autoptimize files?
Last modified: March 23, 2017

---

# gzip autoptimize files?

 *  Resolved [halhawkins](https://wordpress.org/support/users/halhawkins/)
 * (@halhawkins)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/gzip-autoptimize-files/)
 * whenever I test my sites with gtmetrix, my scores are great except for gzip compression.
   I have the proper code added to htaccess so all of my files are compressed except
   for autoptimize files. How can I gzip those?

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/gzip-autoptimize-files/#post-8949832)
 * AO tries to ensure the files are compressed as per in wp-content/cache/autoptimize/.
   htaccess, but if that does not work you can disable the “serve as static files”
   option in which case PHP will ensure the correct headers are set.
 * hope this clarifies,
    frank
 *  Thread Starter [halhawkins](https://wordpress.org/support/users/halhawkins/)
 * (@halhawkins)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/gzip-autoptimize-files/#post-8949852)
 * That did it. Thanks for the quick response!

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

The topic ‘gzip autoptimize files?’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [halhawkins](https://wordpress.org/support/users/halhawkins/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/gzip-autoptimize-files/#post-8949852)
 * Status: resolved