Apache is not sending 304 response (if mod_deflate and AddOutputFilterByType is enabled)

后端 未结 4 1993
渐次进展
渐次进展 2020-12-02 21:05

I have added the following line in my Apache httpd.conf: -

AddOutputFilterByType DEFLATE text/html text/css application/javascript application/x-javascript a         


        
4条回答
  •  生来不讨喜
    2020-12-02 21:19

    I know this is a very old question, but it appears there's a more up-to-date answer.

    To have Apache not append the -gzip suffix, you must use the DeflateAlterETag directive with a value of NoChange.

    See the documentation for this here: http://httpd.apache.org/docs/trunk/mod/mod_deflate.html#deflatealteretag

提交回复
热议问题