Title: Disable GZ ?
Last modified: August 26, 2020

---

# Disable GZ ?

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/disable-gz/)
 * Hello.
 * I read that compression is optional, still i see no option for that anywhere.
 * And for each cached page, i see in the cache directory one html and one gz file.
 * Since Litespeed web server is compressing by default, gz is not needed.
 * How can i disable compression ?
 * Thank you

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

 *  [Stefan Kalscheuer](https://wordpress.org/support/users/stklcode/)
 * (@stklcode)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/disable-gz/#post-13318786)
 * Hi,
 * actually the _generation_ of gzipped files for HDD caching is not optional and
   hard-coded. _Usage_ is optional though, as you can simply ignore these files 
   and don’t have to do anything with them. So there is no option to control that
   feature. Only way to get around is removing line 166 from _inc/cachify\_hdd.class.
   php_…
 * What is configurable is minification (remove empty lines and comments from HTML).
 * But you got a good point here. With native on-the-fly compression support in 
   most Webservers the additional generation should be optional to reduce unnecessary
   overhead.
 * Cheers,
    Stefan
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/disable-gz/#post-13318805)
 * Thank you
 *  [Stefan Kalscheuer](https://wordpress.org/support/users/stklcode/)
 * (@stklcode)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/disable-gz/#post-13324570)
 * You’re welcome.
 * I personally wasn’t aware of these files or at least it wasn’t really on my mind
   until yesterday. I like the idea and opened a corresponding issue to maybe remove
   or allow disabling GZ-generation in future releases: [https://github.com/pluginkollektiv/cachify/issues/197](https://github.com/pluginkollektiv/cachify/issues/197)
 * Cheers,
    Stefan

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

The topic ‘Disable GZ ?’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Stefan Kalscheuer](https://wordpress.org/support/users/stklcode/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/disable-gz/#post-13324570)
 * Status: resolved