• Resolved dimal

    (@dimalifragis)


    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)
  • 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

    (@dimalifragis)

    Thank you

    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

    Cheers,
    Stefan

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

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