grav: "Content-Encoding: none" breaks mod_deflate

Hi,

I’m using mod_deflate instead of grav’s builtin gzip-compression because it’s more flexible for my needs.

As grav sets the header Content-Encoding: none in system/src/Grav/Common/Grav.php when having system.cache.gzip set to false, grav is preventing httpd from compressing the output. Imho there’s no need for setting this header when compression is not wanted.

Kind regards,

Phil

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 19 (12 by maintainers)

Commits related to this issue

Most upvoted comments

@rhukster I think the correct one would be using Content-Encoding: identity, which means “no compression, no modification”